This commit is contained in:
2017-04-13 10:05:09 +02:00
parent 757ac487e5
commit b30bd91f3d
+4 -1
View File
@@ -1,4 +1,7 @@
helper = ApplicationController.helpers
never_signed_in = Supporter.where(sign_in_count: nil)
never_signed_in.each_with_index { |u, i| puts "#{i} #{u.email}"; u.update_attributes password: "#{u.support}#{helper.number_with_delimiter(u.zip, delimiter: ',')}" }
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