Module: Sequel::Plugins::OptimisticLockingBase

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

Overview

Base for other optimistic locking plugins

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.apply(model) ⇒ Object

Load the instance_filters plugin into the model.



8
9
10
# File 'lib/sequel/plugins/optimistic_locking_base.rb', line 8

def self.apply(model)
  model.plugin :instance_filters
end