dimas priyanto - a guy with mouse and keyboard
August 3, 2010

active record clone is ’shallow’, how if ‘deep’??

I’m working on a rails application that needs to clone certain saved Active Record object to an unsaved object. When i use ‘clone’ method built-in..