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

Methods

id   id=   id?   to_key  

Classes and Modules

Module ActiveRecord::AttributeMethods::PrimaryKey::ClassMethods

Public Instance methods

Returns the primary key value

Sets the primary key value

Queries the primary key value

Returns this record‘s primary key value wrapped in an Array if one is available

[Validate]