This project is archived and is in readonly mode.

Changeset [beec6c8b2abfd3286bd7c0a1c7ecb04686af6448] by Cheah Chu Yeow

March 2nd, 2011 @ 03:14 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/beec6c8b2abfd3286bd7c0a1c7ecb...

Committed by Cheah Chu Yeow

  • M actionpack/lib/action_controller/caching/actions.rb
  • M actionpack/test/controller/caching_test.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>