method

id_in_database

Importance_1
v7.1.3.2 - Show latest stable - 0 notes - Class: ActiveRecord::AttributeMethods::PrimaryKey
id_in_database() public

Returns the primary key column’s value from the database. If the primary key is composite, returns an array of primary key column values from database.

Show source
Register or log in to add new notes.