On Jun 9, 12:38 pm, JohnnyC <gbull...@surfrecon.com> wrote: > I'm sure this is not a new topic -- I've read mention of it elsewhere > -- but in addition to :joins => :profile, Active Record also > needs :inner_joins => :profile, :outer_joins => :profile, :left_joins > => :profile, and all the popular combinations of join types.
Why not just use :include? Then it will be portable and do the right type of join (or maybe no join at all if not needed) -- 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.