From 62c7da1b3f97815a05c5522fde799affb9708e2a Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Sat, 11 Apr 2020 07:53:51 +0000 Subject: [PATCH] CodeCleanup: Fix a RuboCop offense Layout/LeadingCommentSpace introduced in r19677. git-svn-id: http://svn.redmine.org/redmine/trunk@19687 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/models/time_entry.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/time_entry.rb b/app/models/time_entry.rb index f8de391ee..130f398f4 100644 --- a/app/models/time_entry.rb +++ b/app/models/time_entry.rb @@ -50,7 +50,7 @@ class TimeEntry < ActiveRecord::Base validates_length_of :comments, :maximum => 1024, :allow_nil => true validates :spent_on, :date => true before_validation :set_project_if_nil - #TODO: remove this, author should be always explicitly set + # TODO: remove this, author should be always explicitly set before_validation :set_author_if_nil validate :validate_time_entry -- 2.39.5