mongomapper / mongomapper

A Ruby Object Mapper for Mongo
http://mongomapper.com
MIT License
1.61k stars 382 forks source link

All associations save (if touched) #433

Open JKring opened 12 years ago

JKring commented 12 years ago

See this gist for an example

If you touch a document's associations, those associations are saved when you save that document, even if you didn't update them. As far as I can tell, this is undocumented, and (at scale) it proves to be a bit of a performance issue.

cheald commented 11 years ago

Related to #218, #233, will be closed by #529 if we merge it.