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
name age message
file README.markdown Mon Jul 21 17:34:13 -0700 2008 adding addressable install instructions [dancroak]
file init.rb Mon Jul 21 13:47:06 -0700 2008 first stab at validate_subdomain_format_of Acti... [dancroak]
directory lib/ Mon Jul 21 17:31:57 -0700 2008 updating sqlite3-style test suite [dancroak]
directory rails/ Mon Jul 21 13:47:06 -0700 2008 first stab at validate_subdomain_format_of Acti... [dancroak]
directory test/ Mon Jul 21 17:31:57 -0700 2008 updating sqlite3-style test suite [dancroak]
README.markdown

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.