Michael Satterwhite wrote: > Michael Pavling wrote: > >> It does sound like you're quite sure you're expecting to have >> many-children and many-parents - almost as if a self-referential >> has_as_belongs_to_many is what you're wanting - never tried it myself, >> but would give it a bash on a test application if that's what you're >> after. > > has_and_belongs_to_many is quite simple when joining 2 different tables > (a join table is used). The problem here is that the join is to the > *SAME* table.
No problem. Read the docs for HABTM. You can have both ends be the same table. Best, -- Marnen Laibow-Koser http://www.marnen.org [email protected] -- 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.

