3 4 5 6 7
# File 'app/jobs/pay/customer_sync_job.rb', line 3 def perform(pay_customer_id) Pay::Customer.find(pay_customer_id).update_api_record rescue ActiveRecord::RecordNotFound Rails.logger.info "Couldn't find a Pay::Customer with ID = #{pay_customer_id}" end