Class: Mongoid::Orderable::Handlers::DocumentEmbedded
- Defined in:
- lib/mongoid/orderable/handlers/document_embedded.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Document
#after_create, #after_update, #before_create, #before_update
Methods inherited from Base
Constructor Details
This class inherits a constructor from Mongoid::Orderable::Handlers::Base
Instance Method Details
#after_destroy ⇒ Object
7 8 9 10 |
# File 'lib/mongoid/orderable/handlers/document_embedded.rb', line 7 def after_destroy return if doc._root.destroyed? super end |