]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/way_tag.rb
Localisation updates from https://translatewiki.net.
[rails.git] / app / models / way_tag.rb
index 4e0f7ee2df933fb714646e01b54de1b0c4f38b50..6637c158535694aa017e2719f79b067913cf9527 100644 (file)
@@ -18,6 +18,6 @@ class WayTag < ActiveRecord::Base
   belongs_to :way
 
   validates :way, :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 => :way_id }
 end