method
id?
v8.0.0 -
Show latest stable
- Class:
ActiveRecord::AttributeMethods::CompositePrimaryKey
id?()public
Queries the primary key column’s value. If the primary key is composite, all primary key column values must be queryable.