/acts_as_tw_id_number

A rails plugin that the model can easy to use and validate the Taiwan Id number.

MIT LicenseMIT

ActsAsTwIdNumber
================

Specify this +acts_as+ extension if your model need to store Taiwan id number.
This requires that you have a string column, which by default is called +tw_id_number+, or your can specify it yourself like example.


Example
=======

class Person < ActiveRecord::Base
    acts_as_tw_id_number :tw_id_number_column => :id_number
end


Copyright (c) 2008 [Wei Jen Lu], released under the MIT license