Readme

This gem is validator for ISAF Sailor ID. It works with Rails 4 but it should work with Rails 3 too.

Usage

Add to your Gemfile:

gem 'isaf_id_validator'

Run:

bundle install

Then add the following to your model:

validates :isaf_id_attribute, isaf_id: true

Testing

Use rspec to run the tests.

bundle exec rspec

Credit

Used email_validator as a template for this.

Contributing

Your contributions are welcome. Please fork the project, make a new branch and send me a pull request.