Remove the comment
This commit is contained in:
@@ -3,7 +3,6 @@ class Migration::SetDefaultValueForContactNameJob < ApplicationJob
|
||||
|
||||
def perform(account)
|
||||
account.contacts.each do |contact|
|
||||
# Set default value for contact name if it is blank
|
||||
# rubocop:disable Rails/SkipsModelValidations
|
||||
contact.update_columns(name: '') if contact.name.blank?
|
||||
# rubocop:enable Rails/SkipsModelValidations
|
||||
|
||||
Reference in New Issue
Block a user