Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update CHANGELOG #7642

Merged
merged 1 commit into from Sep 14, 2012
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
16 changes: 16 additions & 0 deletions 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`:
Expand Down