aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2010-03-11 12:29:17 +0100
committerXavier Noria <fxn@hashref.com>2010-03-11 12:29:17 +0100
commit8cc55777a8e08f54fbdbb3887653f3cd6ebb69fd (patch)
treeb47ded0751dd6d78a64a801fcefa5cbc039b6aa2 /railties/guides/source
parent0db8af10996d7f9f97a99c689189512205689144 (diff)
downloadrails-8cc55777a8e08f54fbdbb3887653f3cd6ebb69fd.tar.gz
rails-8cc55777a8e08f54fbdbb3887653f3cd6ebb69fd.tar.bz2
rails-8cc55777a8e08f54fbdbb3887653f3cd6ebb69fd.zip
release notes: minor edit pass
Diffstat (limited to 'railties/guides/source')
-rw-r--r--railties/guides/source/3_0_release_notes.textile4
1 files changed, 2 insertions, 2 deletions
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
* <tt>application_controller.rb</tt> now has <tt>protect_from_forgery</tt> on by default.
-* The <tt>cookie_verifier_secret</tt> has been deprecated and now instead it is assigned through <tt>Rails.application.config.cookie_secret</tt> and moved into it's own file: <tt>initializers/cookie_verification_secret.rb</tt>.
-* The <tt>session_store</tt> configuration has also been changed from a hash assignment to <tt>ActionController::Base.session</tt> to <tt>Rails.application.config.session_store</tt> has also has been moved to <tt>initializers/session_store.rb</tt>.
+* The <tt>cookie_verifier_secret</tt> has been deprecated and now instead it is assigned through <tt>Rails.application.config.cookie_secret</tt> and moved into its own file: <tt>config/initializers/cookie_verification_secret.rb</tt>.
+* The <tt>session_store</tt> was configured in <tt>ActionController::Base.session</tt>, and that is now moved to <tt>Rails.application.config.session_store</tt>. Defaults are set up in <tt>config/initializers/session_store.rb</tt>.
* <tt>cookies.secure</tt> allowing you to set encrypted values in cookies with <tt>cookie.secure[:key] => value</tt>.
* <tt>cookies.permanent</tt> allowing you to set permanent values in the cookie hash <tt>cookie.permanent[:key] => value</tt> that raise exceptions on signed values if verification failures.
* You can now pass <tt>:notice => 'This is a flash message'</tt> or <tt>:alert => 'Something went wrong'</tt> to the <tt>format</tt> call inside a +respond_to+ block. The <tt>flash[]</tt> hash still works as previously.