Issue with the attachment_fu on sinatra with rails 3

Hello experts,

As I’ve posted in my previous post that problem with attachement_fu on
sinatra
http://www.ruby-forum.com/topic/814969#972738

I need to upload an image from my local computer to a web server and
store the location in a database using attachment_fu plugin

*NOTE - its working fine when I’m posting that request on any controller
but not working with sinatra…

Any ideas on how to get this to work?

-Ganesh K