Skip to content

Instantly share code, notes, and snippets.

@knewter
Created August 3, 2014 21:15
Show Gist options
  • Save knewter/f46edd89b4c848d5c6dd to your computer and use it in GitHub Desktop.
Save knewter/f46edd89b4c848d5c6dd to your computer and use it in GitHub Desktop.
iex(2)> BeamToolboxData.Project.create("foo")
** (Ecto.QueryError) function `or/2` not defined in query API
lib/ecto/query/validator.ex:295: Ecto.Query.Validator.type_check/2
lib/ecto/query/validator.ex:468: Ecto.Query.Validator.catch_grouped/1
lib/ecto/query/validator.ex:122: anonymous fn/3 in Ecto.Query.Validator.validate_booleans/3
(elixir) lib/enum.ex:537: Enum."-each/2-lists^foreach/1-0-"/2
(elixir) lib/enum.ex:537: Enum.each/2
lib/ecto/query/validator.ex:38: Ecto.Query.Validator.validate/3
lib/ecto/repo/backend.ex:85: Ecto.Repo.Backend.all/4
(beam_toolbox_data) lib/beam_toolbox_data/validation.ex:42: BeamToolboxData.Validation.unique/3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment