Hello.

I've encountered a common problem that appears when switching from MySQL to 
PostgreSQL, related to the following error:
"column X must appear in the GROUP BY clause or be used in an aggregate 
function"

I've found some posts that explain why it does happen and how to correct it.

But I wonder why Rails does not handle it through its DB adapters. I'm using 
query methods like #group, #join etc.
Isn't it the reason why we use ORM?
Or maybe I'm doing something wrong?

Thanks.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/j8q-hT6ODEAJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to