From 8aabfadcb7f5e2514b48425dd04fcdc36d9e1f1a Mon Sep 17 00:00:00 2001 From: Pratik Naik Date: Mon, 9 Mar 2009 18:11:47 +0000 Subject: Add a note in release notes about using request.cookies["foo"]= instead of CGI::Cookie.new in tests --- railties/guides/source/2_3_release_notes.textile | 1 + 1 file changed, 1 insertion(+) (limited to 'railties') 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+ -- cgit v1.2.3