Ruby on Rails Wednesday, June 2, 2010

> A.find(:all, :conditions => 'a.column=1 AND b.column=2', :include =>
> 'b') # join

And if you say "join", you mean a "LEFT join" here, if I got the story
right...

Thanks, guys!

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

No comments:

Post a Comment