Permalink
Browse files

updated rake task

  • Loading branch information...
1 parent 2a744fa commit cb230b0a88cbe7704c0a2c778e00cb6262482591 @mshwery mshwery committed Oct 18, 2011
Showing with 6 additions and 1 deletion.
  1. +4 −1 lib/tasks/noladex.rake
  2. +2 −0 public/stylesheets/style.css
View
5 lib/tasks/noladex.rake
@@ -13,7 +13,10 @@ 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! }
+ 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? }
end
end
View
2 public/stylesheets/style.css
@@ -232,6 +232,8 @@ body {
position: absolute;
top: 0;
left: 0;
+ width: 250px;
+ height: 250px;
}
#people .person .overlay {
position: absolute;

0 comments on commit cb230b0

Please sign in to comment.