FIX: avatars:refresh job calling undefined method
This commit is contained in:
parent
78f2d6f870
commit
d4b8581fbe
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue