This project is archived and is in readonly mode.

Changeset [d1d1894c2f38b7b116a2f756fb879ef0e68ade3f] by John F. Douthat

May 1st, 2009 @ 12:48 AM

Fix action-cached exception responses.

Methods raising ActiveRecord::RecordNotFound were returning 404 on first request and 200 OK with blank body on subsequent requests.

[#2533 state:committed]

Signed-off-by: Jeremy Kemper jeremy@bitsweat.net http://github.com/rails/rails/co...

Committed by John F. Douthat

  • 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>