From dfb3ff66985fa6c292c51353cfb7699367810e0a Mon Sep 17 00:00:00 2001 From: Santiago Pastorino Date: Mon, 18 Oct 2010 09:47:21 -0200 Subject: This or login doesn't make sense --- actionpack/lib/action_view/helpers/number_helper.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'actionpack/lib/action_view/helpers') diff --git a/actionpack/lib/action_view/helpers/number_helper.rb b/actionpack/lib/action_view/helpers/number_helper.rb index e3c5924b82..8a5928e4f2 100644 --- a/actionpack/lib/action_view/helpers/number_helper.rb +++ b/actionpack/lib/action_view/helpers/number_helper.rb @@ -58,10 +58,10 @@ module ActionView number = number.to_s.strip options = options.symbolize_keys - area_code = options[:area_code] || nil + area_code = options[:area_code] delimiter = options[:delimiter] || "-" - extension = options[:extension].to_s.strip || nil - country_code = options[:country_code] || nil + extension = options[:extension].to_s.strip + country_code = options[:country_code] str = "" str << "+#{country_code}#{delimiter}" unless country_code.blank? -- cgit v1.2.3