diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-12-13 14:48:55 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-12-13 14:49:58 -0300 |
commit | 5d54fd77b8e85ca7f6fb14916aea043725f49990 (patch) | |
tree | 0be0bf9000c491c7f2a1a56d082f1b02f2529ddc /actionpack/lib | |
parent | c5fb487965b9768da0e48a9348591422ec26f566 (diff) | |
download | rails-5d54fd77b8e85ca7f6fb14916aea043725f49990.tar.gz rails-5d54fd77b8e85ca7f6fb14916aea043725f49990.tar.bz2 rails-5d54fd77b8e85ca7f6fb14916aea043725f49990.zip |
Add missing require.
I was trying to use those files without Rails and that require was
missing.
Diffstat (limited to 'actionpack/lib')
3 files changed, 4 insertions, 0 deletions
diff --git a/actionpack/lib/action_controller/metal/strong_parameters.rb b/actionpack/lib/action_controller/metal/strong_parameters.rb index 25e72adbe0..8faa5f8a13 100644 --- a/actionpack/lib/action_controller/metal/strong_parameters.rb +++ b/actionpack/lib/action_controller/metal/strong_parameters.rb @@ -1,5 +1,6 @@ require 'active_support/concern' require 'active_support/core_ext/hash/indifferent_access' +require 'active_support/core_ext/array/wrap' require 'active_support/rescuable' module ActionController diff --git a/actionpack/lib/action_view/helpers/form_options_helper.rb b/actionpack/lib/action_view/helpers/form_options_helper.rb index c0e7ee1f8d..1b5b788a35 100644 --- a/actionpack/lib/action_view/helpers/form_options_helper.rb +++ b/actionpack/lib/action_view/helpers/form_options_helper.rb @@ -2,6 +2,7 @@ require 'cgi' require 'erb' require 'action_view/helpers/form_helper' require 'active_support/core_ext/string/output_safety' +require 'active_support/core_ext/array/wrap' module ActionView # = Action View Form Option Helpers diff --git a/actionpack/lib/action_view/helpers/tags/date_select.rb b/actionpack/lib/action_view/helpers/tags/date_select.rb index 63c7b00d96..6c400f85cb 100644 --- a/actionpack/lib/action_view/helpers/tags/date_select.rb +++ b/actionpack/lib/action_view/helpers/tags/date_select.rb @@ -1,3 +1,5 @@ +require 'active_support/core_ext/time/calculations' + module ActionView module Helpers module Tags |