dup

dup
Instance Public methods

Duped objects have no id assigned and are treated as new records. Note that this is a âshallowâ copy as it copies the object's attributes only, not its associations. The extent of a âdeepâ copy is application specific and is therefore left to the application to implement according to its need. The dup method does not preserve the timestamps (created|updated)_(at|on).

doc_ruby_on_rails
2015-06-20 00:00:00
Comments
Leave a Comment

Please login to continue.