method
id_was
v7.2.3 -
Show latest stable
- Class:
ActiveRecord::AttributeMethods::CompositePrimaryKey
id_was()public
Returns the primary key column’s previous value. If the primary key is composite, returns an array of primary key column previous values.