github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

dancroak / validates_subdomain_format_of

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 11
    • 0
  • Source
  • Commits
  • Network (0)
  • Issues (0)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

Subdomain validation for ActiveRecord. Light wrapper around the excellent Addressable library (required). Includes a Shoulda macro. — Read more

  cancel

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

adding addressable install instructions 
dancroak (author)
Mon Jul 21 17:34:13 -0700 2008
commit  3cabf72bb92cd7ead52ec2f3b95c93ce88c54838
tree    6ef6d2d64b3873091df993e3b8b53ccc2eeff48c
parent  876862f8a02d703e317801efdaaa407c8ad010c0
validates_subdomain_format_of /
name age
history
message
file README.markdown Loading commit data...
file init.rb
directory lib/
directory rails/
directory test/
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.

Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server