Re: [Rails] Iban gem integration

2019-03-25 Thread botp
On Mon, Mar 25, 2019 at 4:46 PM Sapna Mishra wrote: > Yes I did. I have find the repo for this in github. > https://github.com/max-power/iban/ > in that they have mentioned that this repo is moved to > https://github.com/max-power/bank so I have used that now and it is > working. Thanks > >

Re: [Rails] Iban gem integration

2019-03-25 Thread Sapna Mishra
Yes I did. I have find the repo for this in github. https://github.com/max-power/iban/ in that they have mentioned that this repo is moved to https://github.com/max-power/bank so I have used that now and it is working. Thanks On Monday, March 25, 2019 at 2:13:21 PM UTC+5:30, Colin Law wrote: >

Re: [Rails] Iban gem integration

2019-03-25 Thread Colin Law
On Mon, 25 Mar 2019 at 07:12, Sapna Mishra wrote: > > I have installed IBAN gem to my application. > > gem 'IBAN' > Did you run bundle install after that? Colin > > I have created one validator class for this. > > require 'IBAN' > class IbanValidator < ActiveModel::Validator > def

[Rails] Iban gem integration

2019-03-25 Thread Sapna Mishra
I have installed *IBAN* gem to my application. gem 'IBAN' I have created one validator class for this. require 'IBAN' class IbanValidator < ActiveModel::Validator def self.validate(iban_no) return *IBAN*.valid?(iban_no) end end but it gives me this error cannot load such file -- IBAN