Method: Sequel::Plugins::Touch.apply

Defined in:
lib/sequel/plugins/touch.rb

.apply(model, opts = OPTS) ⇒ Object

[View source]

32
33
34
# File 'lib/sequel/plugins/touch.rb', line 32

def self.apply(model, opts=OPTS)
  model.instance_variable_set(:@touched_associations, {})
end