Sha256: 0b92ce2982ab475eb5e546019e908bfb323ab8166e68fa3cc0f1714e6edce6a3
Contents?: true
Size: 1.17 KB
Versions: 1
Compression:
Stored size: 1.17 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::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::Protected plugin Plugins::Rails plugin Plugins::Sci plugin Plugins::Serialization plugin Plugins::Timestamps plugin Plugins::Userstamps plugin Plugins::Validations plugin Plugins::Callbacks # for now callbacks needs to be after validations plugin Plugins::QueryLogger end super end end # Document end # MongoMapper
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pwnash-mongo_mapper-0.7.6 | lib/mongo_mapper/document.rb |