Frederick Cheung wrote: > On Oct 31, 7:40�am, Bryce Covert <rails-mailing-l...@andreas-s.net> > wrote: >> >> This is a difficult thing to describe. Maybe a better way of saying it >> that I want to make sure that there is only one instance per row of an >> object so that the runtime properties are always available. > > That's sometimes knows as an identity map and is something that > activerecord just doesn't have. You may find that one way out is for > your class to have a map of ids to these runtime properties. > > Fred
Thank you. I ended up doing something similar. -- 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 -~----------~----~----~----~------~----~------~--~---