From 2a658d22dd2ccf2e0fe6285cd60d462bfc10427b Mon Sep 17 00:00:00 2001 From: Matthew Shwery Date: Tue, 18 Oct 2011 15:06:20 -0500 Subject: [PATCH] updated rake again --- lib/tasks/noladex.rake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/tasks/noladex.rake b/lib/tasks/noladex.rake index 8118a7e..afc7dd3 100644 --- a/lib/tasks/noladex.rake +++ b/lib/tasks/noladex.rake @@ -13,7 +13,8 @@ namespace :noladex do desc "Add width and height meta data to the images already uploaded ..." task :reprocess_images => :environment do - User.all.each { |user| user.avatar.reprocess! if user.avatar.exists? } + User.all.each { |user| user.avatar.reprocess! if user.avatar.exists?; user.save! } + end end \ No newline at end of file