lib/phony_rails.rb in phony_rails-0.1.2 vs lib/phony_rails.rb in phony_rails-0.1.3
- old
+ new
@@ -25,11 +25,11 @@
# Add country_number if missing
number = "#{country_number}#{number}" if not number =~ /^(00|\+)?#{country_number}/
end
number = Phony.normalize(number)
return number.to_s
- # rescue
- # number # If all goes wrong .. we still return the original input.
+ rescue
+ number # If all goes wrong .. we still return the original input.
end
# This module is added to AR.
module ActiveRecordExtension
\ No newline at end of file