method

dup

Importance_1
v3.0.0 - Show latest stable - 1 note - Class: ActiveRecord::Base
dup() public

Returns duplicated record with unfreezed attributes.

Show source
Register or log in to add new notes.
May 22, 2012
0 thanks

similar to clone

See the clone documentation. I see that ActiveRecord is moving from “clone” (3.0.9) to “dup” (?).