Browse files

update CHANGELOG

Add entry about 2459411 and
95be790.
  • Loading branch information...
1 parent 84ba499 commit 23851290dc64b9e352618236e3504c76dad52b2c @lest lest committed Sep 14, 2012
Showing with 16 additions and 0 deletions.
  1. +16 −0 actionpack/CHANGELOG.md
View
16 actionpack/CHANGELOG.md
@@ -1,5 +1,21 @@
## Rails 4.0.0 (unreleased) ##
+* Allow to configure how unverified request will be handled using `:with`
+ option in `protect_from_forgery` method.
+
+ Valid unverified request handling methods are:
+
+ - `:exception` - Raises ActionController::InvalidAuthenticityToken exception.
+ - `:reset_session` - Resets the session.
+ - `:null_session` - Provides an empty session during request but doesn't
+ reset it completely. Used as default if `:with` option is not specified.
+
+ New applications are generated with:
+
+ protect_from_forgery :with => :exception
+
+ *Sergey Nartimov*
+
* Add .rb template handler, this handler simply allows arbitrary Ruby code as a template. *Guillermo Iguaran*
* Add `separator` option for `ActionView::Helpers::TextHelper#excerpt`:

0 comments on commit 2385129

Please sign in to comment.