Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 366 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 366 Bytes

ValidatesIban

ActiveRecord validator for IBAN codes using this project to do the actual validation: https://github.com/iulianu/iban-tools

This project rocks and uses MIT-LICENSE.

Installation

Add to your Gemfile and bundle:

gem "validates_iban"

Usage

class Account < ApplicationRecord
  validates :iban_string, iban: true
end