== MiscValidators
A compilation of simple validators we need in most rails apps (AR based).
== Examples
Validation of an email address :
class MyModel < ActiveRecord::Base
validates_email :my_email_field
end
Validation of an URL :
class MyModel < ActiveRecord::Base
validates_url :my_url_field
end
== Installation
As a gem from Gemcutter :
sudo gem install misc_validators
As a plugin :
script/plugin install git://github.com/aurels/misc_validators.git
== Tests
If you wanna run the tests :
rake spec
Copyright (c) 2009 Aurélien Malisart, released under the MIT license