Flowdock
method

clone

Importance_1
v2.3.2 - Show latest stable - 0 notes - Class: ActiveRecord::Base
clone() public

Returns a clone of the record that hasn’t been assigned an id yet and is treated as a new record. Note that this is a "shallow" clone: it copies the object’s attributes only, not its associations. The extent of a "deep" clone is application-specific and is therefore left to the application to implement according to its need.

Show source
Register or log in to add new notes.