Module: Mongoid::Indexable
Relationships & Source Files | |
Namespace Children | |
Modules:
| |
Classes:
| |
Extension / Inclusion / Inheritance Descendants | |
Included In:
| |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
ActiveSupport::Concern
|
|
Defined in: | lib/mongoid/indexable.rb, lib/mongoid/indexable/specification.rb, lib/mongoid/indexable/validators/options.rb |
Overview
Encapsulates behavior around defining indexes.
DSL Calls
included
[ GitHub ]14 15 16 17
# File 'lib/mongoid/indexable.rb', line 14
included do cattr_accessor :index_specifications self.index_specifications = [] end