modgeosys/validates_state_id
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
ValidatesStateId ================ Installation ------------ 1. go to your application's 'vendor/plugins' directory 2. git clone github.com:asapnet/validates_state_id.git Optionally, you might want to bask in the glory of a unit-tested piece of software, simply by running 'rake test' inside the validates_state_id directory. Usage ----- validates_as_state_id :number, :state_field => :us_states # Number: id number # state_field : state to be validation against. Current ToDo's -------------- - Test don't pass outside Rails project. - Check to see if validates_format_of is a better choice.
About
Bulldog validates_state_id component
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published