lib/abstract_controller/callbacks.rb in actionpack-3.1.0.beta1 vs lib/abstract_controller/callbacks.rb in actionpack-3.1.0.rc1

- old
+ new

@@ -11,11 +11,11 @@ define_callbacks :process_action, :terminator => "response_body" end # Override AbstractController::Base's process_action to run the # process_action callbacks around the normal behavior. - def process_action(method_name, *args) - run_callbacks(:process_action, method_name) do + def process_action(*args) + run_callbacks(:process_action, action_name) do super end end module ClassMethods