Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Conflict with gem squeel #178

Open
poc7667 opened this issue Dec 4, 2014 · 0 comments
Open

Conflict with gem squeel #178

poc7667 opened this issue Dec 4, 2014 · 0 comments

Comments

@poc7667
Copy link

poc7667 commented Dec 4, 2014

As title

  irb(main):001:0> Comment.last.impressionist_count
  D, [2014-12-04T14:49:56.638230 #59807] DEBUG -- :   Comment Load (0.6ms)  SELECT  "comments".* FROM "comments"   ORDER BY "comments"."id" DESC LIMIT 1
  E, [2014-12-04T14:49:56.675283 #59807] ERROR -- : PG::SyntaxError: ERROR:  syntax error at or near ")"
  LINE 1: SELECT DISTINCT COUNT(DISTINCT ) FROM "impressions"  WHERE "...
                                         ^
  : SELECT DISTINCT COUNT(DISTINCT ) FROM "impressions"  WHERE "impressions"."impressionable_id" = $1 AND "impressions"."impressionable_type" = $2
  ActiveRecord::StatementInvalid: PG::SyntaxError: ERROR:  syntax error at or near ")"
  LINE 1: SELECT DISTINCT COUNT(DISTINCT ) FROM "impressions"  WHERE "...
                                         ^
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant