method
to_key
v5.0.0.1 -
Show latest stable
- Class:
ActiveRecord::AttributeMethods::PrimaryKey
to_key()public
Returns this record’s primary key value wrapped in an array if one is available.
to_key()Returns this record’s primary key value wrapped in an array if one is available.