method

attributes_in_database

Importance_1
v6.1.3.1 - Show latest stable - 0 notes - Class: ActiveRecord::AttributeMethods::Dirty
attributes_in_database() public

Returns a hash of the attributes that will change when the record is next saved.

The hash keys are the attribute names, and the hash values are the original attribute values in the database (as opposed to the in-memory values about to be saved).

Show source
Register or log in to add new notes.