to_key()
public

Returns this record’s primary key value wrapped in an Array or nil if the record is a new_record?