Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 453

Show
Ignore:
Timestamp:
01/17/05 23:38:14 (4 years ago)
Author:
david
Message:

Fixed a bug where cookies wouldn't be set if a symbol was used instead of a string as the key

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/actionpack/CHANGELOG

    r452 r453  
    11*SVN* 
     2 
     3* Fixed a bug where cookies wouldn't be set if a symbol was used instead of a string as the key 
    24 
    35* Added assert_cookie_equal to assert the contents of a named cookie 
  • trunk/actionpack/lib/action_controller/cookies.rb

    r343 r453  
    4949        options["name"] = name.to_s 
    5050      else 
    51         options = { "name" => name, "value" => options } 
     51        options = { "name" => name.to_s, "value" => options } 
    5252      end 
    5353