validates_as_vat_number 1.0.3
Now you can validate VAT using the European service called VIES, to ensure it exists. Only require this gem and call validate_as_vat_number on your VAT field, in an Active Record object.
Gemfile:
=
install:
=
Development Dependencies (1):
rspec
>= 1.2.9