Sha256: 6f47c0b04b6d9d72552e6041532a38d404b355dc79d7bd6f05588421ae8ba510

Contents?: true

Size: 1.39 KB

Versions: 1

Compression:

Stored size: 1.39 KB

Contents

# encoding: UTF-8
module MongoMapper
  module Document
    extend ActiveSupport::Concern
    extend Plugins

    include Plugins::ActiveModel
    include Plugins::Document
    include Plugins::Dumpable
    include Plugins::Querying # for now needs to be before associations (save_to_collection)
    include Plugins::Associations
    include Plugins::Caching
    include Plugins::Clone
    include Plugins::DynamicQuerying
    include Plugins::Equality
    include Plugins::Inspect
    include Plugins::Indexes
    include Plugins::Keys
    include Plugins::Dirty # for now dirty needs to be after keys
    include Plugins::Logger
    include Plugins::Modifiers
    include Plugins::Pagination
    include Plugins::Persistence
    include Plugins::Accessible
    include Plugins::Protected
    include Plugins::Rails
    include Plugins::Safe # needs to be after querying (save_to_collection)
    include Plugins::Sci
    include Plugins::Scopes
    include Plugins::Serialization
    include Plugins::Stats
    include Plugins::Timestamps
    include Plugins::Userstamps
    include Plugins::Touch
    include Plugins::Validations
    include Plugins::EmbeddedCallbacks
    include Plugins::Callbacks # for now callbacks needs to be after validations
    include Plugins::IdentityMap
    include Plugins::CounterCache

    included do
      extend Plugins
      extend Translation
    end
  end # Document
end # MongoMapper

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mongo_mapper-0.13.1 lib/mongo_mapper/document.rb