method

call

rails latest stable - Class: ActiveSupport::Callbacks::Filters::After

Method not available on this version

This method is only available on newer versions. The first available version (v7.2.3) is shown here.

call(env)
public

No documentation available.

# File activesupport/lib/active_support/callbacks.rb, line 202
          def call(env)
            target = env.target
            value  = env.value
            halted = env.halted

            if (!halted || !@halting) && user_conditions.all? { |c| c.call(target, value) }
              user_callback.call target, value
            end

            env
          end