I use FLEX 3 to make an XML request for Rails 3. Since FLEX 3 only offers POST and GET, I have to use the hacker “? _Method = PUT” to maintain proper RESTfulness:
http://127.0.0.1:3000/locator/locator_users/1.xml?_method=PUT
On the server side, it appears as a POST, and I get an ActionController :: RoutingError (no route matches).
I did rake routes, and the route there, duly impressive and all. This works fine with Rails 2, so I have reason to believe that it is Rails 3 that has changed. After some searching, people seemed to indicate that they should work anyway. But this is not for me. Can anyone confirm or deny Rails 3 compatibility?
UPDATE
Well, after some more messing around, I think this is actually a Flash Player 10 issue. Flash PLayer 9 seems to work fine with the "_method =" hack, 10 doesn't. View a new post I wrote ( Flash Player 9 vs Flash Player 10 with FLEX 3 ,? _method = PUT / DELETE does not work? ).
source
share