instance method
id_value
Ruby on Rails 7.2.3
Since v7.1.6Signature
id_value
Returns the underlying column value for a column named “id”. Useful when defining a composite primary key including an “id” column so that the value is readable.
Source
# File activerecord/lib/active_record/model_schema.rb, line 10
Defined in activerecord/lib/active_record/model_schema.rb line 10
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::ModelSchema