mirror of
https://github.com/internetee/registry.git
synced 2025-06-02 18:58:35 +02:00
added another breakpoints
This commit is contained in:
parent
5e056ed954
commit
fccac285ac
1 changed files with 7 additions and 6 deletions
|
@ -126,21 +126,22 @@ module Api
|
|||
|
||||
|
||||
current_registrant_user.companies.each do |i|
|
||||
c = Contact.find_by(uuid: uuid, ident_type: 'org', ident: company_codes,
|
||||
ident_country_code: country)
|
||||
# c = Contact.find_by(uuid: uuid, ident_type: 'org', ident: company_codes,
|
||||
# ident_country_code: country)
|
||||
|
||||
p "+++++++++++++++++"
|
||||
p "+++++++++++++++++"
|
||||
p c.org_name
|
||||
# p c.org_name
|
||||
p "+++++++++++++++++"
|
||||
p "+++++++++++++++++"
|
||||
p i.companies
|
||||
p i.company_name
|
||||
p "+++++++++++++++++"
|
||||
p "+++++++++++++++++"
|
||||
|
||||
unless c.org_name == i.company_name
|
||||
c.update(org_name: company_name)
|
||||
end
|
||||
# unless c.org_name == i.company_name
|
||||
# c.update(org_name: company_name)
|
||||
# end
|
||||
end
|
||||
|
||||
Contact.find_by(uuid: uuid, ident_type: 'org', ident: company_codes,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue