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.
9 10 11 12 13 14 |
# File 'lib/chewy/errors.rb', line 9 def initialize(_type) super <<-MESSAGE Index update strategy is undefined for current context. Please wrap your code with `Chewy.strategy(:strategy_name) block.` MESSAGE end |