rubyonrails-talk
August 30th, 2006, 08:52 PM
I have a table I need to eager load however I need an extra condition in
the join clause.
Rails will produce something like this for me
select ... from table1 left outer join table2 on table1.table2_id =
table2.id
but what I want is
select ... from table1 left outer join table2 on table1.table2_id =
More... (http://groups.google.com/group/rubyonrails-talk/msg/54ea9d2f50a6a1f9)
the join clause.
Rails will produce something like this for me
select ... from table1 left outer join table2 on table1.table2_id =
table2.id
but what I want is
select ... from table1 left outer join table2 on table1.table2_id =
More... (http://groups.google.com/group/rubyonrails-talk/msg/54ea9d2f50a6a1f9)