diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2010-10-18 09:48:24 -0200 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2010-10-18 09:48:24 -0200 |
commit | 1a0f72d0e347b23f4f402f3c6d427eb73386b36d (patch) | |
tree | f82af9e1d56a9b00fb133b31e4c39b7811db4dba | |
parent | dfb3ff66985fa6c292c51353cfb7699367810e0a (diff) | |
download | rails-1a0f72d0e347b23f4f402f3c6d427eb73386b36d.tar.gz rails-1a0f72d0e347b23f4f402f3c6d427eb73386b36d.tar.bz2 rails-1a0f72d0e347b23f4f402f3c6d427eb73386b36d.zip |
Why strip only the extension, this can be done by the user
-rw-r--r-- | actionpack/lib/action_view/helpers/number_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/number_helper.rb b/actionpack/lib/action_view/helpers/number_helper.rb index 8a5928e4f2..0bb1cdea51 100644 --- a/actionpack/lib/action_view/helpers/number_helper.rb +++ b/actionpack/lib/action_view/helpers/number_helper.rb @@ -60,7 +60,7 @@ module ActionView options = options.symbolize_keys area_code = options[:area_code] delimiter = options[:delimiter] || "-" - extension = options[:extension].to_s.strip + extension = options[:extension] country_code = options[:country_code] str = "" |