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
>
>
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:
>
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
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
4 matches
Mail list logo