Marnen Laibow-Koser wrote: >> I am having trouble figuring out how to set this up as a Model though, >> especially since you can't always know if the object you are looking at >> is object1 or object2 in the relationship field. >> >> Does anyone have any advice for this type of problem? > > Are the associations one-way or two-way? In other words, if ObjA is > related to ObjB, is ObjB automatically related to ObjA?
It is two-way (If A is related to B, B is also automatically related to A) -- 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 rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---