As per the following question, if you are using Rails >= 3.1, you can use object.dup
:
What is the easiest way to duplicate an activerecord record?
As per the following question, if you are using Rails >= 3.1, you can use object.dup
:
What is the easiest way to duplicate an activerecord record?