[Rails] Deep Copy Method?
Thomas Counsell
tamc2 at cam.ac.uk
Mon Jan 3 20:44:51 GMT 2005
Have you got a / can you help with a generic method for doing a deep
copy of a set of Rails objects?
I see there is a clone method for individual objects.
I can also see it would be pretty easy to implement a method that
copies down a tree.
The tricky bit is how to deep copy where objects within the tree
reference each other?
Thanks for any tips.
Tom
----
Tom Counsell. http://tom.counsell.org
More information about the Rails
mailing list