upload/download office documents like *.doc, *.pdf

Hi Ruby community,

I search a HowTo or plugin which help me to store documents like *.doc,
*.pdf etc. into a database blob-column.

The most plugins I detected in www, like UploadColumn, PaperClip are
focused on images not on documents.

Do somebody knows a tutorial or plugin especially for uploading and
downloading documents in a database as blob?

Thanks ahead!