Skip to content
This repository
Browse code

Move new CHANGELOG entry to the top

  • Loading branch information...
commit d9039cd9600bcdc7adff41a54787f62658488173 1 parent b04fe4c
Rafael Mendonça França rafaelfranca authored

Showing 1 changed file with 9 additions and 9 deletions. Show diff stats Hide diff stats

  1. +9 9 actionpack/CHANGELOG.md
18 actionpack/CHANGELOG.md
Source Rendered
... ... @@ -1,29 +1,31 @@
1 1 ## Rails 4.0.0 (unreleased) ##
2 2
  3 +* Prevent raising EOFError on multipart GET request (IE issue). *Adam Stankiewicz*
  4 +
3 5 * Rename all action callbacks from *_filter to *_action to avoid the misconception that these
4 6 callbacks are only suited for transforming or halting the response. With the new style,
5 7 it's more inviting to use them as they were intended, like setting shared ivars for views.
6   -
  8 +
7 9 Example:
8   -
  10 +
9 11 class PeopleController < ActionController::Base
10 12 before_action :set_person, except: [ :index, :new, :create ]
11 13 before_action :ensure_permission, only: [ :edit, :update ]
12   -
  14 +
13 15 ...
14   -
  16 +
15 17 private
16 18 def set_person
17 19 @person = current_account.people.find(params[:id])
18 20 end
19   -
  21 +
20 22 def ensure_permission
21 23 current_person.can_change?(@person)
22 24 end
23 25 end
24   -
  26 +
25 27 The old *_filter methods still work with no deprecation notice.
26   -
  28 +
27 29 *DHH*
28 30
29 31 * Add :if / :unless conditions to fragment cache:
@@ -749,6 +751,4 @@
749 751 * `ActionView::Helpers::TextHelper#highlight` now defaults to the
750 752 HTML5 `mark` element. *Brian Cardarella*
751 753
752   -* Prevent raising EOFError on multipart GET request (IE issue). *Adam Stankiewicz*
753   -
754 754 Please check [3-2-stable](https://github.com/rails/rails/blob/3-2-stable/actionpack/CHANGELOG.md) for previous changes.

0 comments on commit d9039cd

Please sign in to comment.
Something went wrong with that request. Please try again.