From: Ganesh Kathare Date: 2011-01-06T16:48:17+09:00 Subject: problem with attachement_fu on sinatra Hello experts, I am trying to user attachement_fu plugin on sinatra.. When I'm posting request on sinatra.. including file params then in log it showing posted params[:file] format in hash type.. like {"uploaded_data"=> {:filename=>"user.JPG", :type=>"image/jpeg", :name=>"custom_thumbnail[uploaded_data]", :tempfile=> #, :head=> "Content-Disposition: form-data; name=\"custom_thumbnail[uploaded_data]\"; filename=\"user.JPG\"\r\nContent-Type: image/jpeg\r\n"}} instead of as attachement_fu needs it request file params as like {"uploaded_data"=> #>} Due to above has_type format attachement_fu is not supporting.. it showing errors like undefined method 'content_type' and all other.... Any ideas..? on how to get this to change/access params format as normal format(like action_controller params)? Thank you in advance -Ganesh K -- Posted via http://www.ruby-forum.com/.