public
Description: Validates an attribute as a CLABE number.
Homepage: http://mimbles.net
Clone URL: git://github.com/edgarjs/validates-as-clabe.git
name age message
file README Tue Jun 03 21:31:10 -0700 2008 first commit to github [edgarjs]
file README~ Tue Jun 03 21:31:10 -0700 2008 first commit to github [edgarjs]
file Rakefile Tue Jun 03 21:31:10 -0700 2008 first commit to github [edgarjs]
file init.rb Tue Jun 03 21:31:10 -0700 2008 first commit to github [edgarjs]
file install.rb Tue Jun 03 21:31:10 -0700 2008 first commit to github [edgarjs]
directory lib/ Tue Jun 03 21:31:10 -0700 2008 first commit to github [edgarjs]
directory tasks/ Tue Jun 03 21:31:10 -0700 2008 first commit to github [edgarjs]
directory test/ Tue Jun 03 21:31:10 -0700 2008 first commit to github [edgarjs]
README
==Sinopsis
Validates an attribute as a CLABE number.

==Repository
    git://github.com/edgarjs/validates-as-clabe.git

==Home
    http://mimbles.net

==Usage
As any other validation:

    class User < ActiveRecord::Base
      validates_as_clabe :bank_account # may have options like :on, :if and :message
      validates_presence_of :name, :bank_account
      #...
    end

==Credits
* _Version_: 1.0.2
* _Author_: Edgar J. Suarez Heredia - http://mimbles.net
* _Feedback_: edgar.js@gmail.com
* _License_: Rails' (MIT)
* Base code written by {Sergio Jose Villaneda Avila}[http://vntech.blogspot.com].