Skip to content

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

License

Notifications You must be signed in to change notification settings

weijen/acts_as_tw_id_number

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published