Sharagoz wrote:
> Since you are going to join the same table twice, you might as well
> write the whole SQL manually. ActiveRecord doesnt allow you to do
> something like :joins => [:cards as 'c1', :cards as 'c2'].

ok. That's not a very satisfying answer but it is good to be confident 
that I'm not missing something obvious.

Obviously I'm interested if anyone can improve on Sharagoz's comment..

Thanks,
ben
-- 
Posted via http://www.ruby-forum.com/.

-- 
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 rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to