From 8cc55777a8e08f54fbdbb3887653f3cd6ebb69fd Mon Sep 17 00:00:00 2001 From: Xavier Noria Date: Thu, 11 Mar 2010 12:29:17 +0100 Subject: release notes: minor edit pass --- railties/guides/source/3_0_release_notes.textile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'railties/guides') diff --git a/railties/guides/source/3_0_release_notes.textile b/railties/guides/source/3_0_release_notes.textile index 46a41f4fca..55fc610a53 100644 --- a/railties/guides/source/3_0_release_notes.textile +++ b/railties/guides/source/3_0_release_notes.textile @@ -233,8 +233,8 @@ More Information: - "Rails Edge Architecture":http://yehudakatz.com/2009/06/11/r h4. Action Controller * application_controller.rb now has protect_from_forgery on by default. -* The cookie_verifier_secret has been deprecated and now instead it is assigned through Rails.application.config.cookie_secret and moved into it's own file: initializers/cookie_verification_secret.rb. -* The session_store configuration has also been changed from a hash assignment to ActionController::Base.session to Rails.application.config.session_store has also has been moved to initializers/session_store.rb. +* The cookie_verifier_secret has been deprecated and now instead it is assigned through Rails.application.config.cookie_secret and moved into its own file: config/initializers/cookie_verification_secret.rb. +* The session_store was configured in ActionController::Base.session, and that is now moved to Rails.application.config.session_store. Defaults are set up in config/initializers/session_store.rb. * cookies.secure allowing you to set encrypted values in cookies with cookie.secure[:key] => value. * cookies.permanent allowing you to set permanent values in the cookie hash cookie.permanent[:key] => value that raise exceptions on signed values if verification failures. * You can now pass :notice => 'This is a flash message' or :alert => 'Something went wrong' to the format call inside a +respond_to+ block. The flash[] hash still works as previously. -- cgit v1.2.3