diff options
author | claudiob <claudiob@gmail.com> | 2015-09-01 09:37:06 -0700 |
---|---|---|
committer | claudiob <claudiob@gmail.com> | 2015-12-04 14:31:32 -0800 |
commit | 8a410043beea5e1da8afcbb4e75ca2a227e33a48 (patch) | |
tree | 42876ed24364189d53bc6eec3d7e0b00cf9e3177 | |
parent | 8bdbf88dfd231f80b8e757b36e77ff72e6b6b83c (diff) | |
download | rails-8a410043beea5e1da8afcbb4e75ca2a227e33a48.tar.gz rails-8a410043beea5e1da8afcbb4e75ca2a227e33a48.tar.bz2 rails-8a410043beea5e1da8afcbb4e75ca2a227e33a48.zip |
Add missing require to strong_parameters.rb
The file [references Rack::Test here](https://github.com/rails/rails/blame/master/actionpack/lib/action_controller/metal/strong_parameters.rb#L671)
so it's better off requiring 'rack/test' in the first place.
-rw-r--r-- | actionpack/lib/action_controller/metal/strong_parameters.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/lib/action_controller/metal/strong_parameters.rb b/actionpack/lib/action_controller/metal/strong_parameters.rb index 130ba61786..8af94551cf 100644 --- a/actionpack/lib/action_controller/metal/strong_parameters.rb +++ b/actionpack/lib/action_controller/metal/strong_parameters.rb @@ -3,6 +3,7 @@ require 'active_support/core_ext/array/wrap' require 'active_support/core_ext/string/filters' require 'active_support/rescuable' require 'action_dispatch/http/upload' +require 'rack/test' require 'stringio' require 'set' |