Module: Promiscuous::Subscriber::Model::Mongoid
- Extended by:
- ActiveSupport::Concern
- Includes:
- Base
- Defined in:
- lib/promiscuous/subscriber/model/mongoid.rb
Defined Under Namespace
Modules: ClassMethods Classes: EmbeddedDocs
Instance Method Summary collapse
Methods included from Base
#__promiscuous_eventual_consistency_update
Instance Method Details
#__promiscuous_update(payload, options = {}) ⇒ Object
5 6 7 8 9 |
# File 'lib/promiscuous/subscriber/model/mongoid.rb', line 5 def __promiscuous_update(payload, ={}) super # The return value tells if the parent should assign the attribute !self. || [:old_value] != self end |