Hi all, I need some guidance please.
I have several tables related by "has_many" and I would like to find the "distant children". Tables: Subjects Books Chapters Sections Subsections Minisections They are all related heirarchichally, so book for example is related to subjects and chapters the following way. All are related the same way. Book belongs_to :subject has_many :chapters So if I have the subject id, how can I find all the Minisections belonging to that subject? Thanks, Dave -- 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 unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/6dabe1fc293d6af97c6f9b0b597bfcce%40ruby-forum.com. For more options, visit https://groups.google.com/groups/opt_out.

