Module ActiveRecord::AttributeMethods::PrimaryKey
In: lib/active_record/attribute_methods/primary_key.rb

Methods

to_key  

Classes and Modules

Module ActiveRecord::AttributeMethods::PrimaryKey::ClassMethods

Public Instance methods

Returns this record‘s primary key value wrapped in an Array or nil if the record is not persisted? or has just been destroyed.

[Validate]