FIX: avatars:refresh job calling undefined method

This commit is contained in:
Neil Lalonde 2014-06-06 13:19:32 -04:00
parent 78f2d6f870
commit d4b8581fbe
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ task "avatars:refresh" => :environment do
puts
User.find_each do |user|
user.refresh_avatar
user.user_avatar.update_system_avatar!
user.user_avatar.update_gravatar!
putc "." if (i+=1)%10 == 0
end
puts