The case statement compares the target of the case (request) with each when item (post, post?) using ===.
So what you've done there is compared the request object to something called post. I would think that that would be a no method error...
But anyway, try
case request.method when :post # do something when :get # do something else end
That's untested and off the cuff however...
b
Jamal Soueidan wrote: