Sha256: ba62ffbfbcfff1e1a933e0c90e76f7be4d16b2395bcd628b4aefbcea77444e72

Contents?: true

Size: 609 Bytes

Versions: 12

Compression:

Stored size: 609 Bytes

Contents

# encoding: utf-8
module Mongoid #:nodoc
  module Components #:nodoc
    def self.included(base)
      base.class_eval do
        # All modules that a +Document+ is composed of are defined in this
        # module, to keep the document class from getting too cluttered.
        include Associations
        include Attributes
        include Callbacks
        include Commands
        include Fields
        include Indexes
        include Matchers
        include Memoization
        include Observable
        include Validatable
        extend Finders
        extend NamedScope
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
mongoid-1.2.6 lib/mongoid/components.rb
mongoid-1.2.5 lib/mongoid/components.rb
mongoid-1.2.4 lib/mongoid/components.rb
mongoid-1.2.3 lib/mongoid/components.rb
mongoid-1.2.2 lib/mongoid/components.rb
mongoid-1.2.1 lib/mongoid/components.rb
mongoid-1.2.0 lib/mongoid/components.rb
mongoid-1.1.4 lib/mongoid/components.rb
mongoid-1.1.3 lib/mongoid/components.rb
mongoid-1.1.2 lib/mongoid/components.rb
mongoid-1.1.1 lib/mongoid/components.rb
mongoid-1.1.0 lib/mongoid/components.rb