Closed mArtinko5MB closed 10 years ago
I guess I should have made that error more self-explaining. You need to load the IBAN specifications. Easiest way to do that is to use require 'iso/iban/autoload'
.
I ponder changing this in the future, so that a plain require 'iso/iban'
will load the specifications automatically, and special precautions have to be take to not automatically load them (since that's probably a rare case).
I've pushed version 0.1 to master, which automatically loads the specifications. I'll release an updated gem sometime next week. If you wish, I can make a pre-release.
Can somebody help me with this error?
When i use anywhere in application
Rails.logger.info("+++++++++logger info++++ ISO +++++#{ISO::IBAN.valid ('CH35 1234 5987 6543 2109 A')}")
this error is screaming
RuntimeError (No specifications have been loaded yet.):
I can't find anything about specification which has something to do with iso-iban gem.
Thanks for reply.
Martin