This project is archived and is in readonly mode.

#2028 ✓resolved
Sven Fuchs

CookieStore does not get passed config settings

Reported by Sven Fuchs | February 20th, 2009 @ 04:25 PM

Followup to #2001

"Lazy evaluate ActionController session store middleware class to pickup custom plugin session stores" http://github.com/rails/rails/co... made MiddlewareStack accept a Proc as a class name.

It should also accept injected arguments as Procs so that arguments can be evaluated lazily.

This fixes the issue mentioned in the comments of #2001 that stops the application from starting up when CookieStore does not get passed the options configured in config.action_controller.session

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>

People watching this ticket

Attachments

Referenced by

Pages