Method: ActiveSupport::Callbacks::Filters::After#call
- Defined in:
- activesupport/lib/active_support/callbacks.rb
#call(env) ⇒ Object
202 203 204 205 206 207 208 209 210 211 212 |
# 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 |