Sha256: 9b66fde1deec6456185ac51fe5adafee2fb6b85b3f008f750e4e3f5f732a88f2

Contents?: true

Size: 1.24 KB

Versions: 3

Compression:

Stored size: 1.24 KB

Contents

# encoding: utf-8
module Mongoid #:nodoc
  module Components #:nodoc
    extend ActiveSupport::Concern
    included do
      # All modules that a +Document+ is composed of are defined in this
      # module, to keep the document class from getting too cluttered.
      include ActiveModel::Conversion
      include ActiveModel::Naming
      include ActiveModel::Serialization
      include ActiveModel::MassAssignmentSecurity
      include ActiveModel::Serializers::JSON
      include ActiveModel::Serializers::Xml
      include Mongoid::Associations
      include Mongoid::Atomicity
      include Mongoid::Attributes
      include Mongoid::Collections
      include Mongoid::Dirty
      include Mongoid::Extras
      include Mongoid::Fields
      include Mongoid::Hierarchy
      include Mongoid::Indexes
      include Mongoid::JSON
      include Mongoid::Keys
      include Mongoid::Matchers
      include Mongoid::Memoization
      include Mongoid::Modifiers
      include Mongoid::Paths
      include Mongoid::Persistence
      include Mongoid::Safety
      include Mongoid::State
      include Mongoid::Validations
      include Mongoid::Callbacks
      extend ActiveModel::Translation
      extend Mongoid::Finders
      extend Mongoid::NamedScope
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mongoid-2.0.0.beta.18 lib/mongoid/components.rb
mongoid-2.0.0.beta.17 lib/mongoid/components.rb
mongoid-2.0.0.beta.16 lib/mongoid/components.rb