This project is archived and is in readonly mode.

#2940 ✓stale
scott persinger

[PATCH] Rails 2.3.2 changes ActionController "expires_in" API needlessly

Reported by scott persinger | July 22nd, 2009 @ 08:11 PM | in 3.x

Pre-2.3.2 ActionController::Base.expires_in example:

expires_in 10.minutes, :private => false

Rails 2.3.2 version:

expires_in 10.minutes, :public => true

":private" option is ignored. This breaks cache headers for upgraded apps. There is no deprecation warning either.

You can read all about my outrage over here: http://geekblog.vodpod.com/?p=224

Comments and changes to this ticket

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>

Attachments

Pages