search for: uploader_id

Displaying 1 result from an estimated 1 matches for "uploader_id".

Did you mean: upload_id
2008 May 05
2
Deploying to a staging server using Capistrano: how to start up BackgrounDRb?
...g: false # disable log workers and other logging My worker: class ThumbnailGeneratorWorker < BackgrounDRb::MetaWorker set_worker_name :thumbnail_generator_worker set_no_auto_load(true) def create(args = nil) register_status(:percent_complete => 0) args.each_with_index do |uploader_id, index| @uploader = Uploader.find(uploader_id) @uploader.generate_thumbnails percent_complete = ((index + 1) * 100) / args.length logger.info "Thumbnail generation is #{percent_complete}% complete..." register_status(:percent_complete => percent_com...