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/action_view | |
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/action_view')
-rw-r--r-- | actionpack/lib/action_view/helpers/form_options_helper.rb | 1 | ||||
-rw-r--r-- | actionpack/lib/action_view/helpers/tags/date_select.rb | 2 |
2 files changed, 3 insertions, 0 deletions
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 |