1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/lib
Yehuda Katz 1310231c15 Got tests to pass with some more changes.
* request.formats is much simpler now
    * For XHRs or Accept headers with a single item, we use the Accept header
    * For other requests, we use params[:format] or fallback to HTML
    * This is primarily to work around the fact that browsers provide completely
      broken Accept headers, so we have to whitelist the few cases we can
      specifically isolate and treat other requests as coming from the browser
    * For APIs, we can support single-item Accept headers, which disambiguates
      from the browsers
  * Requests to an action that only has an XML template from the browser will
    no longer find the template. This worked previously because most browsers
    provide a catch-all */*, but this was mostly accidental behavior. If you
    want to serve XML, either use the :xml format in links, or explicitly
    specify the XML template: render "template.xml".
2009-08-15 12:32:02 -07:00
..
abstract_controller Caches and cache clearing seems to actually work, but the actual architecture is kind of messy. Next: CLEAN UP. 2009-08-15 12:32:01 -07:00
action_controller Got tests to pass with some more changes. 2009-08-15 12:32:02 -07:00
action_dispatch Got tests to pass with some more changes. 2009-08-15 12:32:02 -07:00
action_pack Bump up the version to 3.0.pre 2009-06-30 14:37:12 -07:00
action_view Got tests to pass with some more changes. 2009-08-15 12:32:02 -07:00
abstract_controller.rb Renamed presenter to renderer, added some documentation and defined its API. 2009-08-07 17:17:51 +02:00
action_controller.rb Renamed ActionController::Renderer to ActionController::Responder and ActionController::MimeResponds::Responder to ActionController::MimeResponds::Collector. 2009-08-08 17:48:07 +02:00
action_dispatch.rb RequestForgeryProtection now works with the new base 2009-05-21 21:48:42 +02:00
action_pack.rb Bump up the year in MIT license files 2009-01-18 05:28:21 +00:00
action_view.rb Separate ActionView::Context so something else can easily be made into an AV context 2009-07-19 22:31:44 +09:00
actionpack.rb Allow frameworks to be required by their gem name (closes #8845) [drnic] 2007-09-22 18:15:05 +00:00