Spent an hour debugging an "impossible" situation, where a query string pollresponse=true was simply not being recognized.
Basically, params[:pollresponse] seems to always be nil, even when the params hash clearly shows { 'pollresponse' => 'true' }
On a hunch, replaced it with another name and it worked as expected.
So I assume there is something "magic" though googling "rails pollresponse" didn't give me anything obvious.
a) Is it in fact reserved and therefore illegal as a query param?
b) is there a list of other such reserved words which, if used as a query string param, will be ignored?
a) no, there is no magic keyword pollresponse for rails.
b) make sure
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.