mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 00:42:04 +02:00
Fixed codeclimate errors
This commit is contained in:
parent
a5ffce290d
commit
7c570e2916
12 changed files with 114 additions and 103 deletions
|
@ -5,7 +5,7 @@ class TechDomainContact < DomainContact
|
|||
skipped_domains = []
|
||||
tech_contacts = where(contact: current_contact)
|
||||
|
||||
tech_contacts.includes(:domain).each do |tech_contact|
|
||||
tech_contacts.includes(:domain).find_each do |tech_contact|
|
||||
if irreplaceable?(tech_contact)
|
||||
skipped_domains << tech_contact.domain.name
|
||||
next
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue