[LRUG] Updating activerecord associations without saving

Tim Cowlishaw tim at timcowlishaw.co.uk
Thu Sep 23 07:06:32 PDT 2010


On 23 Sep 2010, at 15:03, Tom Stuart wrote:

> 
> One potential solution comes courtesy of LRUG's very own Murray Steele in the form of :inverse_of.


Aah, that's very useful! I've spent too much time trying to construct consistent object-graphs in memory without touching the db of late, glad to know it's a solved problem, and I'm (well, probably) not doing something really stupid :-)


Cheers,

Tim




More information about the Chat mailing list