diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-12-10 17:34:35 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-12-10 17:34:35 -0300 |
commit | d9039cd9600bcdc7adff41a54787f62658488173 (patch) | |
tree | fe1bdb0e243e0d85c09d15254cb55839eb661b39 | |
parent | b04fe4c539633ff40deca8729d010accc24aa019 (diff) | |
download | rails-d9039cd9600bcdc7adff41a54787f62658488173.tar.gz rails-d9039cd9600bcdc7adff41a54787f62658488173.tar.bz2 rails-d9039cd9600bcdc7adff41a54787f62658488173.zip |
Move new CHANGELOG entry to the top
-rw-r--r-- | actionpack/CHANGELOG.md | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/actionpack/CHANGELOG.md b/actionpack/CHANGELOG.md index 4d43f771c9..5f1a6dc082 100644 --- a/actionpack/CHANGELOG.md +++ b/actionpack/CHANGELOG.md @@ -1,29 +1,31 @@ ## Rails 4.0.0 (unreleased) ## +* Prevent raising EOFError on multipart GET request (IE issue). *Adam Stankiewicz* + * Rename all action callbacks from *_filter to *_action to avoid the misconception that these callbacks are only suited for transforming or halting the response. With the new style, it's more inviting to use them as they were intended, like setting shared ivars for views. - + Example: - + class PeopleController < ActionController::Base before_action :set_person, except: [ :index, :new, :create ] before_action :ensure_permission, only: [ :edit, :update ] - + ... - + private def set_person @person = current_account.people.find(params[:id]) end - + def ensure_permission current_person.can_change?(@person) end end - + The old *_filter methods still work with no deprecation notice. - + *DHH* * Add :if / :unless conditions to fragment cache: @@ -749,6 +751,4 @@ * `ActionView::Helpers::TextHelper#highlight` now defaults to the HTML5 `mark` element. *Brian Cardarella* -* Prevent raising EOFError on multipart GET request (IE issue). *Adam Stankiewicz* - Please check [3-2-stable](https://github.com/rails/rails/blob/3-2-stable/actionpack/CHANGELOG.md) for previous changes. |