Sha256: 55b9376c38c4b85644e0eae092886b4eb2d5b848ae8d40af56a954553aba9d69
Contents?: true
Size: 1.31 KB
Versions: 60
Compression:
Stored size: 1.31 KB
Contents
# encoding: UTF-8 module MongoMapper module Document extend Support::DescendantAppends def self.included(model) model.class_eval do extend Plugins plugin Plugins::Document plugin Plugins::Querying # for now needs to be before associations (save_to_collection) plugin Plugins::Associations plugin Plugins::Caching plugin Plugins::Clone plugin Plugins::Descendants plugin Plugins::DynamicQuerying plugin Plugins::Equality plugin Plugins::Inspect plugin Plugins::Indexes plugin Plugins::Keys plugin Plugins::Dirty # for now dirty needs to be after keys plugin Plugins::Logger plugin Plugins::Modifiers plugin Plugins::Pagination plugin Plugins::Persistence plugin Plugins::Accessible plugin Plugins::Protected plugin Plugins::Rails plugin Plugins::Safe # needs to be after querying (save_to_collection) plugin Plugins::Sci plugin Plugins::Scopes plugin Plugins::Serialization plugin Plugins::Timestamps plugin Plugins::Userstamps plugin Plugins::Validations plugin Plugins::Callbacks # for now callbacks needs to be after validations end super end end # Document end # MongoMapper
Version data entries
60 entries across 60 versions & 7 rubygems