X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/1e57189366c0e4a49cb29658e9bf5985996709a2..908324323e8801ff76a7cde812e61dbbb03a33ce:/app/models/old_relation_tag.rb diff --git a/app/models/old_relation_tag.rb b/app/models/old_relation_tag.rb index 801ca7cab..4a247949c 100644 --- a/app/models/old_relation_tag.rb +++ b/app/models/old_relation_tag.rb @@ -19,6 +19,6 @@ class OldRelationTag < ActiveRecord::Base belongs_to :old_relation, :foreign_key => [:relation_id, :version] validates :old_relation, :presence => true, :associated => true - validates :k, :v, :allow_blank => true, :length => { :maximum => 255 }, :invalid_chars => true + validates :k, :v, :allow_blank => true, :length => { :maximum => 255 }, :characters => true validates :k, :uniqueness => { :scope => [:relation_id, :version] } end