From 4e27ca4c28432cd735a8ccb82bbaff37941a9d3b Mon Sep 17 00:00:00 2001 From: Mike Gunderloy Date: Tue, 24 Mar 2009 20:02:08 -0500 Subject: Add note about change to session options --- railties/guides/source/2_3_release_notes.textile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'railties') diff --git a/railties/guides/source/2_3_release_notes.textile b/railties/guides/source/2_3_release_notes.textile index 2acc07891f..eaf83d7da8 100644 --- a/railties/guides/source/2_3_release_notes.textile +++ b/railties/guides/source/2_3_release_notes.textile @@ -32,7 +32,7 @@ Here's a summary of the rack-related changes: * +CGI::Session::MemCacheStore+ has been replaced by +ActionController::Session::MemCacheStore+ * +CGI::Session::ActiveRecordStore+ has been replaced by +ActiveRecord::SessionStore+ * You can still change your session store with +ActionController::Base.session_store = :active_record_store+ -* Default sessions options are still set with +ActionController::Base.session = { :key => "..." }+ +* Default session options are still set with +ActionController::Base.session = { :key => "..." }+. However, the +:session_domain+ option has been renamed to +:domain+. * The mutex that normally wraps your entire request has been moved into middleware, +ActionController::Lock+ * +ActionController::AbstractRequest+ and +ActionController::Request+ have been unified. The new +ActionController::Request+ inherits from +Rack::Request+. This affects access to +response.headers['type']+ in test requests. Use +response.content_type+ instead. * +ActiveRecord::QueryCache+ middleware is automatically inserted onto the middleware stack if +ActiveRecord+ has been loaded. This middleware sets up and flushes the per-request Active Record query cache. -- cgit v1.2.3