diff --git a/app/jobs/migration/set_default_value_for_contact_name_job.rb b/app/jobs/migration/set_default_value_for_contact_name_job.rb index e5505e8f4..aca09145a 100644 --- a/app/jobs/migration/set_default_value_for_contact_name_job.rb +++ b/app/jobs/migration/set_default_value_for_contact_name_job.rb @@ -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