diff --git a/lib/interactor/context.rb b/lib/interactor/context.rb index 238b9f2..57f0087 100644 --- a/lib/interactor/context.rb +++ b/lib/interactor/context.rb @@ -121,7 +121,7 @@ def failure? # # Raises Interactor::Failure initialized with the Interactor::Context. def fail!(context = {}) - context.each { |key, value| modifiable[key.to_sym] = value } + context.each { |key, value| self[key] = value } @failure = true raise Failure, self end