Sha256: a9ce999dfaa97ee8b7ec5747151b2360f4c06ba9bce37223d329e30a0985189a

Contents?: true

Size: 764 Bytes

Versions: 1

Compression:

Stored size: 764 Bytes

Contents

# encoding: UTF-8
module MongoMapper
  module EmbeddedDocument
    extend Support::DescendantAppends

    def self.included(model)
      model.class_eval do
        extend  Plugins

        plugin Plugins::EmbeddedDocument
        plugin Plugins::Associations
        plugin Plugins::Clone
        plugin Plugins::Descendants
        plugin Plugins::Equality
        plugin Plugins::Inspect
        plugin Plugins::Keys
        plugin Plugins::Logger
        plugin Plugins::Persistence
        plugin Plugins::Protected
        plugin Plugins::Rails
        plugin Plugins::Sci
        plugin Plugins::Serialization
        plugin Plugins::Validations
        plugin Plugins::Callbacks
        plugin Plugins::QueryLogger

      end
      super
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pwnash-mongo_mapper-0.7.6 lib/mongo_mapper/embedded_document.rb