Skip to content

Instantly share code, notes, and snippets.

@djones
Created October 13, 2015 23:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save djones/ae10fccfdee54f963ebb to your computer and use it in GitHub Desktop.
Save djones/ae10fccfdee54f963ebb to your computer and use it in GitHub Desktop.
alias PhoenixTodosApi.Repo
alias PhoenixTodosApi.Todo
Repo.insert!(%Todo{title: "Create the Phoenix App", is_completed: true})
Repo.insert!(%Todo{title: "Prepare the Ember App", is_completed: false})
Repo.insert!(%Todo{title: "Ensure the Apps Work Together", is_completed: false})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment