Skip to content

Instantly share code, notes, and snippets.

@krzysztofbialek
Created June 12, 2015 10:48
Show Gist options
  • Save krzysztofbialek/9c81db3f681210e695e9 to your computer and use it in GitHub Desktop.
Save krzysztofbialek/9c81db3f681210e695e9 to your computer and use it in GitHub Desktop.
User Load (0.9ms) SELECT "users".* FROM "users" WHERE "users"."deleted_at" IS NULL ORDER BY "users"."" DESC LIMIT 1
PG::SyntaxError: ERROR: zero-length delimited identifier at or near """"
LINE 1: ...RE "users"."deleted_at" IS NULL ORDER BY "users"."" DESC LI...
^
: SELECT "users".* FROM "users" WHERE "users"."deleted_at" IS NULL ORDER BY "users"."" DESC LIMIT 1
ActiveRecord::StatementInvalid: PG::SyntaxError: ERROR: zero-length delimited identifier at or near """"
LINE 1: ...RE "users"."deleted_at" IS NULL ORDER BY "users"."" DESC LI...
^
: SELECT "users".* FROM "users" WHERE "users"."deleted_at" IS NULL ORDER BY "users"."" DESC LIMIT 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment