Forum: Ruby on Rails Object duplication

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
72f8ab180f81f9c544e2b58da399c0be?d=identicon&s=25 Elad Meidar (eizesus)
on 2007-03-06 12:23
Hi all,

supposed i have a "User" class, which has_many :companies for example.
now, if i want to simply clone an instance of such class, how do i
automatically copy all dependencies together ?

Tnx
This topic is locked and can not be replied to.