README.md in phony_rails-0.1.1 vs README.md in phony_rails-0.1.2
- old
+ new
@@ -32,16 +32,20 @@
PhonyRails will also check your model for a country_code method to use when normalizing the number. So `'070-12341234'` with `country_code` 'NL' will get normalized to `'317012341234'`.
Use the Phony.plausible method to validate an attribute:
- validate :phone_number, :phony_plausible => true
+ validates :phone_number, :phony_plausible => true
In your views use:
<%= "some number string variable".phony_formatted(:format => :international, :spaces => '-') %>
## Changelog
+
+0.1.2
+* Using countries gem as suggested by brutuscat.
+* Fixes bugs mentioned by ddidier.
0.1.0
* Added specs.
0.0.10