public
Description: Subdomain validation for ActiveRecord. Light wrapper around the excellent Addressable library (required). Includes a Shoulda macro.
Homepage:
Clone URL: git://github.com/dancroak/validates_subdomain_format_of.git
dancroak (author)
Mon Jul 21 17:34:13 -0700 2008
commit  3cabf72bb92cd7ead52ec2f3b95c93ce88c54838
tree    6ef6d2d64b3873091df993e3b8b53ccc2eeff48c
parent  876862f8a02d703e317801efdaaa407c8ad010c0
validates_subdomain_format_of / README.markdown
100644 22 lines (13 sloc) 0.336 kb

Validates subdomain format

Validate various formats of subdomains against RFC standards.

Requirements

Addressable.

sudo gem install addressable

Authors

Written by Dan Croak, July 2008. Thanks to Ches Martin (http://is.gd/Zph).

License

MIT License, same terms as Ruby.