This project is archived and is in readonly mode.

Changeset [6bbe965ccdcef2d7e713e65175722718d325b2bd] by Yehuda Katz

May 27th, 2009 @ 09:40 AM

Reduce the cost of using ActionController::Http significantly by:

  • Removing the dependency on AD::Request and AD::Response
  • Moving the logic for the request and response object into a new module that is included by default.
  • Changing Renderer and Redirector to use self.headers, self.content_type, and self.status, which have very basic default implementations on AC::Http. When RackConvenience is included (which it is by default on AC::Base), the full Request/Response logic is used instead of the simple logic. http://github.com/rails/rails/co...

Committed by Yehuda Katz

  • M actionpack/lib/action_controller/new_base.rb
  • M actionpack/lib/action_controller/new_base/base.rb
  • M actionpack/lib/action_controller/new_base/conditional_get.rb
  • M actionpack/lib/action_controller/new_base/http.rb
  • M actionpack/lib/action_controller/new_base/rack_convenience.rb
  • M actionpack/lib/action_controller/new_base/redirector.rb
  • M actionpack/lib/action_controller/new_base/render_options.rb
  • M actionpack/lib/action_controller/new_base/renderer.rb
  • M actionpack/lib/action_controller/new_base/session.rb
  • M actionpack/lib/action_controller/new_base/testing.rb
  • M actionpack/lib/action_controller/new_base/url_for.rb

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>