Module: ActiveModelPersistence::PrimaryKeyIndex

Extended by:
ActiveSupport::Concern
Includes:
ActiveModel::Attributes, ActiveModel::Model, Indexable, PrimaryKey
Included in:
Persistence
Defined in:
lib/active_model_persistence/primary_key_index.rb

Overview

Adds the `find` method to a model class which looks up objects by their primary key value

Defined Under Namespace

Modules: ClassMethods