Following the advice of this question regarding loading iex with dependencies of the current project, I was able to work quite effectively with the dependencies of the phoenix structure. However, for each thing, it is a little tedious to provide the Phoenix project namespace.
Instead of typing MyApp.Repo.all(MyApp.User) I was hoping to make Repo.all(User) . I can individually use each thing with alias MyApp.Repo, as: Repo , but is there a way to do this for everything at once?
elixir phoenix-framework iex mix
Graham conzett
source share