Class: Chewy::Strategy::Bypass

Inherits:
Base show all
Defined in:
lib/chewy/strategy/bypass.rb

Overview

This strategy basically does nothing.

Chewy.strategy(:bypass) do
  User.all.map(&:save) # Does nothing here
  # Does not update index all over the block.
end

Instance Method Summary collapse

Methods inherited from Base

#leave, #name

Instance Method Details

#update(type, objects, options = {}) ⇒ Object



11
12
# File 'lib/chewy/strategy/bypass.rb', line 11

def update type, objects, options = {}
end