Validates As Phone plugin
Plugin details
Documentation
Install the plugin:
ruby script/plugin install http://validates-as-phone.googlecode.com/svn/trunk/
class Model < ActiveRecord::Base ... validates_as_phone :telephone, :fax, :message => "is not a valid US phone number" ... end
Further Documentation
There is currently no advanced documentation for this plugin.
New documentationEdit plugin | Back in time (1 older version) | Last edited by: scott, 4 months ago

