# Can't Dump file - paperclip with workling and starling

**URL:** <https://www.ruby-forum.com/t/cant-dump-file-paperclip-with-workling-and-starling/193259>\
**Category:** Rails\
**Created:** [August 14, 2010, 9:42am UTC](https://www.ruby-forum.com/t/cant-dump-file-paperclip-with-workling-and-starling/193259 "2010-08-14T09:42:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![df-sean](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/f07891/32.png) [@df-sean](https://www.ruby-forum.com/u/df-sean)\
**Post date:** [August 14, 2010, 9:42am UTC](https://www.ruby-forum.com/t/cant-dump-file-paperclip-with-workling-and-starling/193259/1 "2010-08-14T09:42:49Z")

</div>

here is my controller action:

def create  
UploadWorker.async\_send\_file(params[:image])

flash[:notice] = “uploading file”  
redirect\_to root\_url  
end

class UploadWorker \< Workling::Base  
def send\_file(options)  
@image = current\_user.images.build(params[:image])  
@image.save  
end  
end

I would like the paperclip upload, conversion and save to take place in  
the background.  
The error I get:

can’t dump File

/usr/lib/ruby/gems/1.8/gems/memcache-client-1.8.5/lib/memcache.rb:360:in  
`dump' /usr/lib/ruby/gems/1.8/gems/memcache-client-1.8.5/lib/memcache.rb:360:in`set\_without\_newrelic\_trace’  
(eval):5:in `set' (eval):4:in`set’  
app/controllers/images\_controller.rb:52:in `create’

{“commit”=\>“upload”,  
“authenticity\_token”=\>“3JniM+vyc29t+23lnQjm0RNjrzV37YswhK/fauMfEZY=”,  
“image”=\>{“photo”=\>#\<File:/tmp/RackMultipart20100814-12328-bwjqb8-0\>,  
“location”=\>"",  
“uid”=\>“upload\_workers:send\_file:37ec9541ff9c36d5a7ac802822316d77”,  
“description”=\>"",  
“state\_id”=\>“1”}}
