From d4b8581fbec47dcf56d4c36688be1a433aa83174 Mon Sep 17 00:00:00 2001 From: Neil Lalonde Date: Fri, 6 Jun 2014 13:19:32 -0400 Subject: [PATCH] FIX: avatars:refresh job calling undefined method --- lib/tasks/avatars.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/avatars.rake b/lib/tasks/avatars.rake index c598a5ae6a2..bb37dc0e80e 100644 --- a/lib/tasks/avatars.rake +++ b/lib/tasks/avatars.rake @@ -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