search for: members_applications

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

2008 May 06
0
Find with Inheritance
...s.size).join(" AND "), * terms.flatten], :include => [:applicant, :member], :per_page => 10, :page => page, :order => ''applications.id desc'') It seems as if rails creates the first join in sql normally, but then creates the second join and gives it the name: members_applications. I could just add the condition or members_applications.name like ... but I don''t think this is the proper way of doing things. Another option is to do it in multiple find statements, but I don''t think this is correct either. Does anyone have a suggestion? Thanks for your help,...