Skip to content

Instantly share code, notes, and snippets.

@8vius
Created May 11, 2015 16:10
Show Gist options
  • Save 8vius/7136ce138dad5fdc4a8f to your computer and use it in GitHub Desktop.
Save 8vius/7136ce138dad5fdc4a8f to your computer and use it in GitHub Desktop.
PG::UndefinedTable: ERROR: missing FROM-clause entry for table "user"
LINE 1: ..."."id" = "taxable_entities"."accountant_id" WHERE "user"."de...
^
: SELECT "taxable_entities".* FROM "taxable_entities" INNER JOIN "users" ON "users"."id" = "taxable_entities"."accountant_id" WHERE "user"."deactivated" = 't'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment