mirror of
https://github.com/internetee/registry.git
synced 2025-07-03 09:43:36 +02:00
Merge branch 'story/114871365-address-cc-upcase' into staging
This commit is contained in:
commit
9554d4583b
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ namespace :convert do
|
||||||
|
|
||||||
|
|
||||||
desc 'Contact Address Country Code Upcase'
|
desc 'Contact Address Country Code Upcase'
|
||||||
task country_code_ucase: :environment do
|
task country_code_upcase: :environment do
|
||||||
count = 0
|
count = 0
|
||||||
Contact.find_each do |c|
|
Contact.find_each do |c|
|
||||||
if c.country_code.present? && c.country_code != c.country_code.upcase
|
if c.country_code.present? && c.country_code != c.country_code.upcase
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue