search for: children_peopl

Displaying 1 result from an estimated 1 matches for "children_peopl".

Did you mean: children_people
2010 May 12
0
OT? Using Arel to generate table names in multiple self join query
Firstly I''m sorry if this is off-topic but I think it''s a question that won''t be answered without good core knowledge. I have written a multiple self join query something like this: Person.find :all, :select => ''children_people_3.*'', :joins => { :children => { :children => :children } }, :conditions => { :people => { :name => ''tom'' }, :children_people => { :name => ''dick'' }, :children_people_2 => { :name => ''harry''...