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.
Elad M. (Guest)
on 2007-03-06 13: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.