phony_rails 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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.
|