Guest User

Untitled

a guest
Feb 19th, 2018
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. 2) Error:
  2. test_counting_using_sql(HasManyAssociationsTest):
  3. ActiveRecord::StatementInvalid: PGError: ERROR: subquery must return only one column
  4. : SELECT "companies".id FROM "companies" WHERE (SELECT * FROM companies WHERE client_of = 1) AND ( ("companies"."type" = 'Client' OR "companies"."type" = 'SpecialClient' OR "companies"."type" = 'VerySpecialClient' ) ) LIMIT 1
Add Comment
Please, Sign In to add comment