Object duplication

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 ?


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs