My app on rails 2.3.2 has a standard scaffold for a resource "thing"
I try to create a new "thing" like this:

curl -d '<thing><name>pallone</name></thing>'   'http://0.0.0.0:3000/
things/1'    -d '_method=put'  -H 'Content-type: application/xml'

and I get the error "Only get, put, and delete requests are allowed"
why? It's driving me crazy...

(My app is accessed by a flex3 frontend that speaks XML, and can only
send get and post requests)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" 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-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to