diff options
author | Philipe Fatio <me@phili.pe> | 2014-02-07 11:06:55 +0100 |
---|---|---|
committer | Philipe Fatio <me@phili.pe> | 2014-02-07 17:48:18 +0100 |
commit | 47860b62b3c9a915c00fd379b705c545d4c6eb0d (patch) | |
tree | 2e0caafd1de9661cc7ac9ae37fa4be20264ad291 /actionpack | |
parent | e3d81945826083756de383612c3afbbdda8e1392 (diff) | |
download | rails-47860b62b3c9a915c00fd379b705c545d4c6eb0d.tar.gz rails-47860b62b3c9a915c00fd379b705c545d4c6eb0d.tar.bz2 rails-47860b62b3c9a915c00fd379b705c545d4c6eb0d.zip |
Require action_view to fix missing constant
Previously, requiring action_view/view_paths did cause an uninitialized
constant error for ENCODING_FLAG, which is defined in action_view.
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/CHANGELOG.md | 5 | ||||
-rw-r--r-- | actionpack/lib/abstract_controller/rendering.rb | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/actionpack/CHANGELOG.md b/actionpack/CHANGELOG.md index b63fb4a9b6..642b847588 100644 --- a/actionpack/CHANGELOG.md +++ b/actionpack/CHANGELOG.md @@ -1,3 +1,8 @@ +* Properly require `action_view` in `AbstractController::Rendering` to prevent + uninitialized constant error for `ENCODING_FLAG`. + + *Philipe Fatio* + * Do not discard query parameters that form a hash with the same root key as the `wrapper_key` for a request using `wrap_parameters`. diff --git a/actionpack/lib/abstract_controller/rendering.rb b/actionpack/lib/abstract_controller/rendering.rb index 7be61d94c9..f24b03ad16 100644 --- a/actionpack/lib/abstract_controller/rendering.rb +++ b/actionpack/lib/abstract_controller/rendering.rb @@ -1,5 +1,6 @@ require 'active_support/concern' require 'active_support/core_ext/class/attribute' +require 'action_view' require 'action_view/view_paths' require 'set' |