Skip to content

Instantly share code, notes, and snippets.

@jkthorne
Created October 26, 2015 00:59
Show Gist options
  • Save jkthorne/e5a1688330244c396ffa to your computer and use it in GitHub Desktop.
Save jkthorne/e5a1688330244c396ffa to your computer and use it in GitHub Desktop.
iex(1)> alias BuzzwordBingo.User
nil
iex(2)> alias BuzzwordBingo.User.Repo
nil
iex(3)> Repo.all(User)
** (UndefinedFunctionError) undefined function: BuzzwordBingo.User.Repo.all/1 (module BuzzwordBingo.User.Repo is not available)
BuzzwordBingo.User.Repo.all(BuzzwordBingo.User)
iex(3)>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment