Sha256: a55fe6c866f35b0ca381ce19d92510e760612b630841b00ab847c0e89c6dfeb4

Contents?: true

Size: 1.32 KB

Versions: 8

Compression:

Stored size: 1.32 KB

Contents

# encoding: utf-8
module Mongoid #:nodoc
  module Components #:nodoc
    extend ActiveSupport::Concern

    # All modules that a +Document+ is composed of are defined in this
    # module, to keep the document class from getting too cluttered.
    included do
      extend ActiveModel::Translation
      extend Mongoid::Finders
    end

    include ActiveModel::Conversion
    include ActiveModel::MassAssignmentSecurity
    include ActiveModel::Naming
    include ActiveModel::Observing
    include ActiveModel::Serializers::JSON
    include ActiveModel::Serializers::Xml
    include Mongoid::Atomic
    include Mongoid::Attributes
    include Mongoid::Collections
    include Mongoid::Copyable
    include Mongoid::DefaultScope
    include Mongoid::Dirty
    include Mongoid::Extras
    include Mongoid::Fields
    include Mongoid::Hierarchy
    include Mongoid::Indexes
    include Mongoid::Inspection
    include Mongoid::JSON
    include Mongoid::Keys
    include Mongoid::Matchers
    include Mongoid::NamedScope
    include Mongoid::NestedAttributes
    include Mongoid::Persistence
    include Mongoid::Relations
    include Mongoid::Safety
    include Mongoid::Serialization
    include Mongoid::Sharding
    include Mongoid::State
    include Mongoid::Validations
    include Mongoid::Callbacks
    include Mongoid::MultiDatabase
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
mongoid-2.1.7 lib/mongoid/components.rb
mongoid-2.1.6 lib/mongoid/components.rb
mongoid-2.1.5 lib/mongoid/components.rb
mongoid-2.1.4 lib/mongoid/components.rb
mongoid-2.1.3 lib/mongoid/components.rb
mongoid-2.1.2 lib/mongoid/components.rb
mongoid-2.1.1 lib/mongoid/components.rb
mongoid-2.1.0 lib/mongoid/components.rb