<andey> hey guys i have a problem. I’m working with a external payment processor. After the payment or (rebill/cancel/refund/etc) happens, they use GET to notify my website. the problem, they do this (web.com/?action=rebill&blah=blach…). I cant access params[:action] because obviously thats taken by Rails. How can i work around this problem. Thanks
<daed> andey; http://ap.rubyonrails.org/classes/ActionController/AbstractRequest.html
<daed> you can determine if it’s a GET or POST with ‘get?’ and ‘post?’
<daed> http://ap.rubyonrails.org/classes/ActionController/AbstractRequest.html#M000240 <- this returns both GET and POST
<andey> it’s GET
<andey> thanks, ill look at it @daed
<daed> andey; request.GET and request.POST should also return respective params
<andey> thanks daed request.GET[:action] works, sorry im new to rails and i dont know this tricky stuff