diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-05-28 23:48:05 -0300 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-05-28 23:55:20 -0300 |
commit | 400c5fefcf6d3cca734b32fa6a9c93ce338602ea (patch) | |
tree | ce8b972ca2b9853691e8f1b85f0e8d3a4e6019b0 /actionpack/lib | |
parent | f9cb645dfcb5cc89f59d2f8b58a019486c828c73 (diff) | |
download | rails-400c5fefcf6d3cca734b32fa6a9c93ce338602ea.tar.gz rails-400c5fefcf6d3cca734b32fa6a9c93ce338602ea.tar.bz2 rails-400c5fefcf6d3cca734b32fa6a9c93ce338602ea.zip |
Review requires from number helper
Some of these requires are now only necessary in
ActiveSupport::NumberHelper. Add hash/keys require due to symbolize_keys
usage in number helpers. Also remove some whitespaces.
Closes #6414
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_view/helpers/number_helper.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/actionpack/lib/action_view/helpers/number_helper.rb b/actionpack/lib/action_view/helpers/number_helper.rb index 61010f4fc3..8f97d1f014 100644 --- a/actionpack/lib/action_view/helpers/number_helper.rb +++ b/actionpack/lib/action_view/helpers/number_helper.rb @@ -1,8 +1,6 @@ # encoding: utf-8 -require 'active_support/core_ext/big_decimal/conversions' -require 'active_support/core_ext/object/blank' -require 'active_support/core_ext/numeric' +require 'active_support/core_ext/hash/keys' require 'active_support/core_ext/string/output_safety' require 'active_support/number_helper' @@ -10,7 +8,6 @@ module ActionView # = Action View Number Helpers module Helpers #:nodoc: - # Provides methods for converting numbers into formatted strings. # Methods are provided for phone numbers, currency, percentage, # precision, positional notation, file size and pretty printing. |