Module: MmPartialUpdate::Plugins::PartialUpdate
- Defined in:
- lib/mm_partial_update/plugins/document.rb,
lib/mm_partial_update/plugins/partial_update.rb,
lib/mm_partial_update/plugins/embedded_document.rb
Defined Under Namespace
Modules: ClassMethods, Document, EmbeddedDocument, InstanceMethods
Class Method Summary collapse
Class Method Details
.included(model) ⇒ Object
7 8 9 10 11 |
# File 'lib/mm_partial_update/plugins/partial_update.rb', line 7 def self.included(model) model.plugin MmDirtier::Plugins::Dirtier unless model.plugins.include?(MmDirtier::Plugins::Dirtier) model.plugin(MmPartialUpdate::Plugins::PartialUpdate) end |