public Method

Base.process(request, response, method = :perform_action, *arguments)

Extracts the action_name from the request parameters and performs that action.

Source Code

# File action_controller/base.rb, line 521
def process(request, response, method = :perform_action, *arguments) #:nodoc:
  initialize_template_class(response)
  assign_shortcuts(request, response)
  initialize_current_url
  assign_names
  forget_variables_added_to_assigns

  log_processing
  send(method, *arguments)

  assign_default_content_type_and_charset

  response.request = request
  response.prepare! unless component_request?
  response
ensure
  process_cleanup
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.