This project is archived and is in readonly mode.
Rails/Rack inconsistency about `:expires_after`/`:expires` cookie option.
-
Aaron Gibralter
What's more -- Rack seems to expect the
:expiresoption as aTimeobject. I keep gettingcan't clone Fixnum (TypeError)because I have:expiresin my environment.rb set to a number of seconds in the future... Setting theconfig.action_controller.session = { :expires => '...' }to aTimeobject doesn't really make sense, does it? -
gmarik
Fixed in this commit
-
gmarik
Also this monkeypatch works for me (until Rails is fixed)
-
Aaron Gibralter
+1 :)
-
gmarik
Forgot to mention here's pending rails pull request with fix