mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 09:57:23 +02:00
Add contact name to orphans cronlog #2923
This commit is contained in:
parent
193986765a
commit
927f762552
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ class Contact < ActiveRecord::Base
|
||||||
|
|
||||||
unless Rails.env.test?
|
unless Rails.env.test?
|
||||||
orphans.each do |m|
|
orphans.each do |m|
|
||||||
STDOUT << "#{Time.zone.now.utc} Contact.destroy_orphans: ##{m.id}\n"
|
STDOUT << "#{Time.zone.now.utc} Contact.destroy_orphans: ##{m.id} (#{m.name})\n"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue