Acts As Attachment :storage=> :db_system tutorial version


I am trying to upload an image file, in MySql. When I try to upload it's
not throwing any error. But in the DB, it is always getting saved as
"ÿØÿà" in the Text. It is not getting saved as image.

When I tried to read the image and send(using send_data method), it
shows "No preview available".

I tried with both acts_as_attachment and attachment_fu. Any guess what
the mistake I have made?

Thanks in advance...

I have no experience with attachment_fu or acts_as_attachment but I
setup image uploads in an app yesterday using paperclip. The whole
process took about 10 minutes but I already had imagemagick installed
so that saved me some time.

Chris B