2011/11/14 CC Chen <[email protected]>: > "Routing Error > No route matches [POST] "/upload/uploadFile" " > > > But on routes.rb it included get "upload/uploadFile" and get > "upload/index"
Just a quickshot, but... It is complaining about a missing POST-route and your routes.rb containes <get "upload/uploadFile">? Do you see it? HTH Norbert PS: If you do routes for a filetransfer, never ever use GET, GET is not capable of transferring that much of data, use POST instead. AFAIR thats also written in the HTTP-Standard... PPS: If you don't see it yourself: change <get "upload/uploadFile"> to <post "upload/uploadFile"> -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

