Skip to content

Commit

Permalink
updated rake again
Browse files Browse the repository at this point in the history
  • Loading branch information
mshwery committed Oct 18, 2011
1 parent d56a1c2 commit 2a658d2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/tasks/noladex.rake
Expand Up @@ -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

0 comments on commit 2a658d2

Please sign in to comment.