Skip to content

Commit

Permalink
Require action_view to fix missing constant
Browse files Browse the repository at this point in the history
Previously, requiring action_view/view_paths did cause an uninitialized
constant error for ENCODING_FLAG, which is defined in action_view.
  • Loading branch information
fphilipe committed Feb 7, 2014
1 parent e3d8194 commit 47860b6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions 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 * Do not discard query parameters that form a hash with the same root key as
the `wrapper_key` for a request using `wrap_parameters`. the `wrapper_key` for a request using `wrap_parameters`.


Expand Down
1 change: 1 addition & 0 deletions actionpack/lib/abstract_controller/rendering.rb
@@ -1,5 +1,6 @@
require 'active_support/concern' require 'active_support/concern'
require 'active_support/core_ext/class/attribute' require 'active_support/core_ext/class/attribute'
require 'action_view'
require 'action_view/view_paths' require 'action_view/view_paths'
require 'set' require 'set'


Expand Down

0 comments on commit 47860b6

Please sign in to comment.