在after save方法最后添加了一个puts
This commit is contained in:
parent
d2d50e6a92
commit
3e3c1ad986
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue