Permalink
Browse files

updated rake

  • Loading branch information...
1 parent cb230b0 commit 1b35e503198dc031eeeee663a63b91a4ea3087cb @mshwery mshwery committed Oct 18, 2011
Showing with 1 addition and 4 deletions.
  1. +1 −4 lib/tasks/noladex.rake
View
@@ -13,10 +13,7 @@ namespace :noladex do
desc "Add width and height meta data to the images already uploaded ..."
task :reprocess_images => :environment do
- first_batch = User.find(:all) { |f| f.id > 0 && f.id < 100 }
- first_batch.select { |f| f.avatar.reprocess! if f.avatar.exists? }
-
- #User.all.each { |user| user.avatar.reprocess! if user.avatar.exists? }
+ User.all.each { |user| user.avatar.reprocess! if user.avatar.exists? }
end
end

0 comments on commit 1b35e50

Please sign in to comment.