]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/changeset_comment.rb
Fix most auto-correctable rubocop issues
[rails.git] / app / models / changeset_comment.rb
index a010674a3cb062479fb20f2ee9282d454ccb3424..02f68a2fa72e98bc50d2aca798bd42d470449466 100644 (file)
@@ -8,8 +8,8 @@ class ChangesetComment < ActiveRecord::Base
   validates_associated :changeset
   validates_presence_of :author
   validates_associated :author
   validates_associated :changeset
   validates_presence_of :author
   validates_associated :author
-  validates :visible, :inclusion => { :in => [true,false] }
-  
+  validates :visible, :inclusion => { :in => [true, false] }
+
   # Return the comment text
   def body
     RichText.new("text", read_attribute(:body))
   # Return the comment text
   def body
     RichText.new("text", read_attribute(:body))