I have 3 models, A, B and C and the classic 3 relations: 1) A <--- has_and_belongs_to_many ---> B
2) B has_many C B -> c1 -> c2 -> c3 ... 3) C belong_to B C -> a1 Question: How can I get C entries in relationship to an A entry ? in other words, I have a = A.find id and I want C I have tried a.bs.cs (NOT correct) A.bs.all(:include => :cs) (NOT correct) do you have any solutions ? thank you, Alessandro DS -- Posted via http://www.ruby-forum.com/. -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

