Class: Sequel::Unicache::Hook

Inherits:
Object
  • Object
show all
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_unicacheObject



7
8
9
# File 'lib/sequel/unicache/hook.rb', line 7

def install_hooks_for_unicache
  Sequel::Model.include InstanceMethods
end