Monday, 9 September 2013

Get legacy params[:action] to work in Rails

Get legacy params[:action] to work in Rails

I'm parsing a third-party API that send me a value on an unfortunately
attribute called action. Since Rails reserves action param for controller
actions, I'm getting create as value instead of the value they send me.
Is there any way to bypass this rails default just for this case so I can
read the value the thid-party api is sending me?

No comments:

Post a Comment