0.01
No release in over 3 years
IBAN validator for ActiveRecord attributes.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 3.1.0
 Project Readme

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