Thanks Michael for the clarification. Any thoughts on should Trap.first.dungeon be blowing up?
- Neeraj On May 9, 6:30 pm, Michael Koziarski <mich...@koziarski.com> wrote: > > It seems inverse_of is not working as I expect it to. Or am I missing > > something here? > > inverse_of isn't an identity map, it only handles traversing > associations. So in your case: > > dungeon.traps.map {|t| t.dungeon.object_id } > > All those object instances will be the same. > > -- > Cheers > > Koz > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Core" group. > To post to this group, send email to rubyonrails-c...@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-core+unsubscr...@googlegroups.com. > For more options, visit this group > athttp://groups.google.com/group/rubyonrails-core?hl=en. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-c...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.