Class: Sequel::Unicache::Hook
- Inherits:
-
Object
- Object
- Sequel::Unicache::Hook
- Defined in:
- lib/sequel/unicache/hook.rb
Overview
Provide after_commit & after_destroy_commit to update cache
Defined Under Namespace
Modules: InstanceMethods
Class Method Summary collapse
Class Method Details
.install_hooks_for_unicache ⇒ Object
7 8 9 |
# File 'lib/sequel/unicache/hook.rb', line 7 def install_hooks_for_unicache Sequel::Model.include InstanceMethods end |