method
id=
v7.1.3.4 -
Show latest stable
- Class:
ActiveRecord::AttributeMethods::PrimaryKey
id=(value)public
Sets the primary key column’s value. If the primary key is composite, raises TypeError when the set value not enumerable.
id=(value)Sets the primary key column’s value. If the primary key is composite, raises TypeError when the set value not enumerable.