2017-03-31 16:59:10 +02:00
|
|
|
helper = ApplicationController.helpers
|
|
|
|
|
|
2017-03-31 18:26:30 +02:00
|
|
|
never_signed_in = Supporter.where(sign_in_count: nil)
|
2017-04-13 10:05:09 +02:00
|
|
|
never_signed_in.each_with_index do |u, i|
|
|
|
|
|
puts "#{i} #{u.email}"
|
|
|
|
|
u.update_attributes password: "#{u.support}#{helper.number_with_delimiter(u.zip, delimiter: ',')}"
|
|
|
|
|
end
|