Skip to content

Instantly share code, notes, and snippets.

@aurels
Created July 22, 2010 14:28
Show Gist options
  • Save aurels/486039 to your computer and use it in GitHub Desktop.
Save aurels/486039 to your computer and use it in GitHub Desktop.
class Invoice < ActiveRecord::Base
validates :vat_number, :vat => true
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment