Ruby on Rails Discussions
AR deep clone
rubyonrails-talk
Harold
(Harold)
January 6, 2009, 10:04pm
1
Ran into this a while back.
your_ar_instance.dup will keep the child records as well.