On Nov 19, 1:23 pm, "Alex V." <[email protected]> wrote:
> I am experiencing the same problem as daniel
>
> - has_many through association
>
> - get invalid sql when try to use a scope with "select distinct":
> basically, the "select" i specify does not override the default implicit
> select of the has_many join, but instead gets appended to it (as in
> daniel's example)
>
> Does anyone know if this is by design, or a bug?

I'm guessing bug. As of Arel 2.0.6 I'm no longer getting invalid sql,
but I'm not getting valid results either.

Dan

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
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