Object duplication


#1

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