Class: Chewy::Strategy::Bypass

Inherits:
Base
  • Object
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, #update_chewy_indices

Instance Method Details

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



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

def update(type, objects, _options = {}); end