method

dup

dup()
public

Returns duplicated record with unfreezed attributes.

1Note

similar to clone

Oz_DiGennaro ยท May 22, 2012

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