Class: ThinkingSphinx::ActiveRecord::Callbacks::DeleteCallbacks
- Inherits:
-
Callbacks
- Object
- Callbacks
- ThinkingSphinx::ActiveRecord::Callbacks::DeleteCallbacks
show all
- Defined in:
- lib/thinking_sphinx/active_record/callbacks/delete_callbacks.rb
Instance Attribute Summary
Attributes inherited from Callbacks
#instance
Instance Method Summary
collapse
Methods inherited from Callbacks
append, callbacks, #initialize, resume!, suspend, suspend!, suspended?
Instance Method Details
#after_commit ⇒ Object
8
9
10
|
# File 'lib/thinking_sphinx/active_record/callbacks/delete_callbacks.rb', line 8
def after_commit
delete_from_sphinx
end
|
#after_destroy ⇒ Object
12
13
14
|
# File 'lib/thinking_sphinx/active_record/callbacks/delete_callbacks.rb', line 12
def after_destroy
delete_from_sphinx
end
|
#after_rollback ⇒ Object
16
17
18
|
# File 'lib/thinking_sphinx/active_record/callbacks/delete_callbacks.rb', line 16
def after_rollback
delete_from_sphinx
end
|