在after save方法最后添加了一个puts

This commit is contained in:
nigel007 2019-09-24 07:28:28 +08:00
parent d2d50e6a92
commit 3e3c1ad986
1 changed files with 1 additions and 0 deletions

View File

@ -1532,6 +1532,7 @@ class Issue < ActiveRecord::Base
self.updated_on = current_time_from_proper_timezone
if new_record?
self.created_on = updated_on
puts "after force_updated_on_change"
end
end
end