Skip to content

Commit

Permalink
Fix so it runs in Ruby 2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
mjonas87 committed Oct 6, 2023
1 parent aac4884 commit 4c3cce2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/active_interactor/organizer/interactor_interface.rb
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def execute_deferred_after_perform_callbacks(context)

interactor = interactor_class.new(context)
env = ActiveSupport::Callbacks::Filters::Environment.new(interactor, false, nil)
deferred_after_perform_callbacks.compile.invoke_after(env)
deferred_after_perform_callbacks.compile(nil).invoke_after(env)
interactor.send(:context)
end

Expand Down

0 comments on commit 4c3cce2

Please sign in to comment.