Whitelist all ISO-8859-1 chars. Removes all chars that are not in ISO-8859-1 range. Unicode UTF8 Table
- copy
iso_validator.rb
toapp/validators/iso_validator.rb
- copy
iso_validator_spec.rb
tospec/validators/iso_validator_spec.rb
validates :name, presence: true, iso: true
validates :street, iso: true