On 2006-07-29, at 03:22 , Josh Susser wrote:
I think I can see a good way to do the identity map, but only the vaguest idea of how AR might save dirtied children automatically. Would these things be PDI-level enhancements, or a waste of time to look into?

I think they stray too much from way we learned to expect AR to work.

Back in the rails 0.5 days I sorta remember this being discussed in the irc channel, and back then david didn't feel like introducing the concept of dirtiness into the framework. In fact, the discussion was exactly regarding wether or not to save records when pushing into has_many assocs, and that's what eventually generated the build and create methods.

Would be nice to see an implementation of dirtiness and identity map, but I'd be surprised if it ever got merged into the trunk.

_______________________________________________
Rails-core mailing list
Rails-core@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-core

Reply via email to