method

id_value

rails latest stable - Class: ActiveRecord::ModelSchema
id_value
public

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.