ValidatesSwift
ActiveRecord validator for SWIFT codes using this project to do the actual validation: https://github.com/marjaimate/swift-code-tool
This project rocks and uses MIT-LICENSE.
Installation
Add to Gemfile and bundle:
gem "validates_swift"
Usage
class Account < ActiveRecord::Base
validates :swift_string, swift: true
end