mirror of
https://github.com/internetee/registry.git
synced 2025-05-16 09:27:19 +02:00
Contact should always have OK state
This commit is contained in:
parent
0af529e8a8
commit
1a2b6c9044
1 changed files with 1 additions and 1 deletions
|
@ -277,7 +277,7 @@ namespace :import do
|
||||||
x.postalcode.try(:strip),
|
x.postalcode.try(:strip),
|
||||||
x.stateorprovince.try(:strip),
|
x.stateorprovince.try(:strip),
|
||||||
x.country.try(:strip),
|
x.country.try(:strip),
|
||||||
[x.object_state.try(:name)|| Contact::OK]
|
[x.object_state.try(:name), Contact::OK].compact
|
||||||
]
|
]
|
||||||
|
|
||||||
if contacts.size % 10000 == 0
|
if contacts.size % 10000 == 0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue