added another breakpoints

This commit is contained in:
olegphenomenon 2021-10-25 15:26:17 +03:00
parent 5e056ed954
commit fccac285ac

View file

@ -126,21 +126,22 @@ module Api
current_registrant_user.companies.each do |i| current_registrant_user.companies.each do |i|
c = Contact.find_by(uuid: uuid, ident_type: 'org', ident: company_codes, # c = Contact.find_by(uuid: uuid, ident_type: 'org', ident: company_codes,
ident_country_code: country) # ident_country_code: country)
p "+++++++++++++++++" p "+++++++++++++++++"
p "+++++++++++++++++" p "+++++++++++++++++"
p c.org_name # p c.org_name
p "+++++++++++++++++" p "+++++++++++++++++"
p "+++++++++++++++++" p "+++++++++++++++++"
p i.companies
p i.company_name p i.company_name
p "+++++++++++++++++" p "+++++++++++++++++"
p "+++++++++++++++++" p "+++++++++++++++++"
unless c.org_name == i.company_name # unless c.org_name == i.company_name
c.update(org_name: company_name) # c.update(org_name: company_name)
end # end
end end
Contact.find_by(uuid: uuid, ident_type: 'org', ident: company_codes, Contact.find_by(uuid: uuid, ident_type: 'org', ident: company_codes,