Sha256: 42adea5777d5dec3daddd26486f3631b51f19dbc6868b1f764888a3b29430208

Contents?: true

Size: 1.11 KB

Versions: 1

Compression:

Stored size: 1.11 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::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::Matchers
      include Mongoid::Memoization
      include Mongoid::Observable
      include Mongoid::Paths
      include Mongoid::Persistence
      include Mongoid::State
      include Mongoid::Validations
      include Mongoid::Callbacks
      extend ActiveModel::Translation
      extend Mongoid::Finders
      extend Mongoid::NamedScope
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mongoid-2.0.0.beta.7 lib/mongoid/components.rb