Remove activerecord-import gem

This commit is contained in:
Alex Sherman 2021-05-17 14:39:53 +05:00
parent 7ca35150cd
commit abb918a849
3 changed files with 2 additions and 5 deletions

View file

@ -12,7 +12,8 @@ class FillEmailVerifications < ActiveRecord::Migration[6.0]
# result = emails.map do |email|
# { email: email, domain: domain(email) }
# end
# EmailAddressVerification.import result, batch_size: 500
# EmailAddressVerification.import result, batch_size: 500 #deprecated/removed
# need to use insert_all if uncommented
end
def down