ValidatesAsIsbn
===============
This Ruby on Rails plugin implements an ActiveRecord validation helper
called validates_as_isbn. The helper validates that the string provided
is a valid ISBN. It works on both the original 10-character ISBN, or
the newer 13-character version.
Installation
------------
ruby script/plugin install http://svn.deeden.co.uk/validates_as_isbn/trunk
Full documentation on script/plugin can be obtained by invoking the plugin
script with no arguments:
ruby script/plugin
You may need to restart your webserver in order to load the plugin files.
Usage
-----
In your model file do something like:
class MyClass < ActiveRecord::Base
validates_as_isbn :isbn
end