How to clone model's data


#1

Hey’ guys.

How to clone model’s data.


#2

Nurzed L. wrote:

Hey’ guys.

How to clone model’s data.

Try some things out in your console, that would the best way to get your
answer. Try:

@obj.clone

@obj.dup

@obj.attributes

It really depends on what you are using the data for.