search for: request_is

Displaying 1 result from an estimated 1 matches for "request_is".

Did you mean: request_id
2007 Oct 24
5
Do I have to care about other methods than GET and POST?
Hi all Sometimes I check in a controller if the method is GET or POST. But afaik there are other methods - do I have to care about them? Is the following enough? if request.get? ... elsif request.post? ... end Or do I have to add also an else block? if request.get? ... elsif request.post? ... else raise "Boah!" end Thanks for infos Josh -- Posted via http://www.ruby-forum.com/.