Displaying 1 result from an estimated 1 matches for "find_all_in_collection".
2006 May 05
0
Missing documentation for find_in_collection? Trying to drill down in a 4 level has_many association fails
...have no idea how to use them and  
can only find one hint in the API
http://api.rubyonrails.com/classes/ActiveRecord/Associations/ 
ClassMethods.html
It mentions here in the has many associations that if you use the  
finder_sql that you would loose the find_in_collection. What are  
these and the find_all_in_collection methods I am finding. For  
example the simple models i am using is a 4-tier has_many structure  
like this:
class User < ActiveRecord::Base
   has_many      :foos,
end
class Foo < ActiveRecord::Base
   belongs_to    :user
   has_many      :bars,
end
class Bar < ActiveRecord::Base
   be...