Archive for the 'ajax' Category
Today I found that code
headers['status'] = ‘500′
doesn’t do what I want with Mongrel: HTTP Status header is still 200 while with Webrick it’s happily set to 500.I tried it with Rails 1.2.5 and 2.0 and Mongrel 1.1.1 both on Windows and Linux.Luckily using this instead helps (though I liked the previous code more):
render [...]
Filed under: ajax, mongrel, rails | 1 Comment
Search
-
You are currently browsing the Artem Vasiliev's Weblog weblog archives for the ajax category.