]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/redaction.rb
Rework coordinates to avoid scientific formatting of small numbers. Fixes #1509
[rails.git] / app / models / redaction.rb
index 49de3177a127af1a0bbe260aaf1feaa15b716109..04f002e3637ccf62c1f808dea10f3b22677e0074 100644 (file)
@@ -15,7 +15,7 @@ class Redaction < ActiveRecord::Base
   has_many :old_relations
 
   validates :description, :presence => true
-  validates :description_format, :inclusion => { :in => %w(text html markdown) }
+  validates :description_format, :inclusion => { :in => %w[text html markdown] }
 
   # this method overrides the AR default to provide the rich
   # text object for the description field.