Fork me on GitHub

Elfproef

This Ruby on Rails plugin adds a validation method for Dutch bank account numbers. These can be validated using the so-called Elfproef.

Installation

  1. go to your application’s root directory
  2. ruby script/plugin install git://github.com/tilsammans/elfproef.git
  3. restart your application

Usage

Add “validates_elfproef_of” to your model class.
class User < ActiveRecord::Base
  validates_elfproef_of :bank_account
end
  1. No comments yet.

  1. No trackbacks yet.