Add a little more feedback to rake task
This commit is contained in:
parent
f614729060
commit
b0c87fcffa
1 changed files with 1 additions and 0 deletions
|
|
@ -63,6 +63,7 @@ namespace :db do
|
||||||
return this.diaspora_handle.charAt(this.diaspora_handle.length-1) == '@'
|
return this.diaspora_handle.charAt(this.diaspora_handle.length-1) == '@'
|
||||||
}")
|
}")
|
||||||
|
|
||||||
|
puts "Found #{people.count} people with broken diaspora_handle fields"
|
||||||
people.each do |person|
|
people.each do |person|
|
||||||
if person.owner
|
if person.owner
|
||||||
puts "Resetting diaspora handle for #{person.owner.username}"
|
puts "Resetting diaspora handle for #{person.owner.username}"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue