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 [2ee55557440a644453482a678e4ff08a4b5ebd3e] by Cheah Chu Yeow

Revision 2ee55557440a644453482a678e4ff08a4b5ebd3e, committed by Cheah Chu Yeow · March 2nd, 2011 @ 03:11 PM

Fix Action caching bug where an action that has a non-cacheable response always renders a nil response body. It now correctly renders the response body.

Note that only GET and HTTP 200 responses can be cached.

[#6480 state:committed]

Signed-off-by: Santiago Pastorino santiago@wyeworks.com
https://github.com/rails/rails/commit/2ee55557440a644453482a678e4ff...

2 changed files

  • M actionpack/lib/action_controller/caching/actions.rb
  • M actionpack/test/controller/caching_test.rb