Exception: Chewy::UndefinedUpdateStrategy
- Defined in:
- lib/chewy/errors.rb
Instance Method Summary collapse
-
#initialize(type) ⇒ UndefinedUpdateStrategy
constructor
A new instance of UndefinedUpdateStrategy.
Constructor Details
#initialize(type) ⇒ UndefinedUpdateStrategy
Returns a new instance of UndefinedUpdateStrategy.
15 16 17 18 19 20 |
# File 'lib/chewy/errors.rb', line 15 def initialize type super <<-MESSAGE Index update strategy is undefined in current context. Please wrap your code with `Chewy.strategy(:strategy_name) block.` MESSAGE end |