Cookies seem to have stopped working properly since upgrading to 1.2.2
Testing under Webrick but have the same results in my live mongrel/apache setup
Controller
class CookController < ApplicationController
def index
cookies[:test_cookie] = { :value => "This is a test cookie",
:expires => Time.now + 1.month }
end
end
views/cook/index.rhtml
Test Complete
Logs
Cookie set: test_cookie=; path=/; expires=Fri, 30 Mar 2007 08:40:38 GMT
Firefox Live HTTP Headers
HTTP/1.x 200 OK
Cache-Control: no-cache
Date: Wed, 28 Feb 2007 08:43:48 GMT
Content-Type: text/html; charset=utf-8
Server: WEBrick/1.3.1 (Ruby/1.8.5/2006-08-25)
Content-Length: 14
Set-Cookie: test_cookie=This+is+a+test+cookie; path=/;
Set-Cookie: _playpen_session_id=8b8ee189aa41cbef663c711d0b8994ca; path=/
Connection: close