Change from attachment_fu db BLOB to Paperclip S3

Hi:

I have moved from using attachment_fu with files stored in the DB to
Paperclip using S3. The trick now is to migrate the files from the DB
to S3.

I have tried a few methods like:

SThreeFile.create(:file => AttachmentFuFile.first.data)

and

@attachment = AttachmentFuFile.first
SThreeFile.create(:file => ActionController::Streaming.send_data
@attachment.data, :filename => @attachment.name, :type =>
@attachment.content_type)

The first gives lots of output to the console but doesn't produce and
results. The second gives:
NoMethodError: undefined method `send_data' for
ActionController::Streaming:Module

Can anyone point me in the right direction?

Thanks!