diff options
author | Pratik Naik <pratiknaik@gmail.com> | 2009-03-09 18:11:47 +0000 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2009-03-09 18:13:05 +0000 |
commit | 8aabfadcb7f5e2514b48425dd04fcdc36d9e1f1a (patch) | |
tree | 0112e24c1b050458758933521082d014c6140320 /railties/guides/source | |
parent | c9806fe176db08c8cbc8ee9ecf709f92a8dfe0e7 (diff) | |
download | rails-8aabfadcb7f5e2514b48425dd04fcdc36d9e1f1a.tar.gz rails-8aabfadcb7f5e2514b48425dd04fcdc36d9e1f1a.tar.bz2 rails-8aabfadcb7f5e2514b48425dd04fcdc36d9e1f1a.zip |
Add a note in release notes about using request.cookies["foo"]= instead of CGI::Cookie.new in tests
Diffstat (limited to 'railties/guides/source')
-rw-r--r-- | railties/guides/source/2_3_release_notes.textile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/guides/source/2_3_release_notes.textile b/railties/guides/source/2_3_release_notes.textile index 7ee6ae33cb..de1d75eba9 100644 --- a/railties/guides/source/2_3_release_notes.textile +++ b/railties/guides/source/2_3_release_notes.textile @@ -29,6 +29,7 @@ Here's a summary of the rack-related changes: * +ActionController::CGIHandler+ is a backwards compatible CGI wrapper around Rack. The +CGIHandler+ is meant to take an old CGI object and convert its environment information into a Rack compatible form. * +CgiRequest+ and +CgiResponse+ have been removed * Session stores are now lazy loaded. If you never access the session object during a request, it will never attempt to load the session data (parse the cookie, load the data from memcache, or lookup an Active Record object). +* You no longer need to use +CGI::Cookie.new+ in your tests for setting a cookie value. Assigning a +String+ value to request.cookies["foo"] now sets the cookie as expected. * +CGI::Session::CookieStore+ has been replaced by +ActionController::Session::CookieStore+ * +CGI::Session::MemCacheStore+ has been replaced by +ActionController::Session::MemCacheStore+ * +CGI::Session::ActiveRecordStore+ has been replaced by +ActiveRecord::SessionStore+ |