phony_rails 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/phony_rails/version.rb +1 -1
- data/lib/phony_rails.rb +2 -2
- metadata +1 -1
data/lib/phony_rails/version.rb
CHANGED
data/lib/phony_rails.rb
CHANGED
@@ -27,8 +27,8 @@ module PhonyRails
|
|
27
27
|
end
|
28
28
|
number = Phony.normalize(number)
|
29
29
|
return number.to_s
|
30
|
-
|
31
|
-
|
30
|
+
rescue
|
31
|
+
number # If all goes wrong .. we still return the original input.
|
32
32
|
end
|
33
33
|
|
34
34
|
# This module is added to AR.
|