Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Changeset [6bbe965ccdcef2d7e713e65175722718d325b2bd] by Yehuda Katz

Revision 6bbe965ccdcef2d7e713e65175722718d325b2bd, committed 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...

11 changed files

  • 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