tag:blogger.com,1999:blog-6177337792240027905.post5539082007805438390..comments2023-03-06T00:40:07.524-08:00Comments on Flex On Rails: Flex on Rails book source code updated for Rails 2.3.2Daniel Wanjahttp://www.blogger.com/profile/16505343517130420145noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-6177337792240027905.post-18725535713308098362009-08-18T15:45:08.023-07:002009-08-18T15:45:08.023-07:00Hey,
Im having a problem getting RubyAmf to work ...Hey,<br /><br />Im having a problem getting RubyAmf to work with Rails 2.3.2 and higher. Have you come across similar issues?<br /><br />Thanks,<br /><br />SteveUnknownhttps://www.blogger.com/profile/13458861861428393631noreply@blogger.comtag:blogger.com,1999:blog-6177337792240027905.post-57342406549870624702009-06-03T08:47:42.617-07:002009-06-03T08:47:42.617-07:00Hi,
I found the error. It was in my app/controll...Hi,<br /><br />I found the error. It was in my app/controllers/people_controller.rb<br /><br />For the update definition,I did not comment out ":status=>unprocessable_entity"<br />else<br /> format.html {render: action=> "edit" }<br /> format.xml {render:xml=>@person.errors,:status=>:unprocessable_entity}<br /><br />Sorry, I could not get the last part to fit on a line, but I think you can see what I mean. Right after @person.errors should have been commented out.<br /><br />VernUnknownhttps://www.blogger.com/profile/08066456220174677757noreply@blogger.comtag:blogger.com,1999:blog-6177337792240027905.post-67548478458134869472009-06-02T20:00:38.866-07:002009-06-02T20:00:38.866-07:00Hi,
Thanks for showing how to use the X_HTTP_METHO...Hi,<br />Thanks for showing how to use the X_HTTP_METHOD_OVERRIDE to take into account the changes with Rails 2.3.2. I could not get the code in the book to work prior to seeing your updated code. However, I don't seem to be getting the error checking to work. That is, the code in application_controller.rb does not convert the 422 error into a 200 when the first or last name is missing. All I get is the Alert associated with fault="mx.controls.Alert.show(event.toString())"; <br />Am I misunderstanding how this is supposed to work?<br /><br />Thanks,<br />VernUnknownhttps://www.blogger.com/profile/08066456220174677757noreply@blogger.com