README.md in phony_rails-0.8.2 vs README.md in phony_rails-0.9.0
- old
+ new
@@ -85,10 +85,10 @@
validates_plausible_phone :phone_number, :presence => true
validates_plausible_phone :phone_number, :with => /^\+\d+/
validates_plausible_phone :phone_number, :without => /^\+\d+/
validates_plausible_phone :phone_number, :presence => true, :with => /^\+\d+/
-the i18n key is `:improbable_phone`
+the i18n key is `:improbable_phone`. Languages supported by default: de, en, fr, it, ja, kh and tr.
You can also validate if a number has the correct country number:
validates_plausible_phone :phone_number, :country_number => '61'