Subdomain validation for ActiveRecord. Light wrapper around the excellent Addressable library.
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
rails
test
README.markdown
init.rb

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.