param - rails: is "pollresponse" a magic keyword that is not allowed in query string? -



param - rails: is "pollresponse" a magic keyword that is not allowed in query string? -

spent hr debugging "impossible" situation, query string pollresponse=true not beingness recognized.

basically, params[:pollresponse] seems nil, when params hash shows { 'pollresponse' => 'true' }

on hunch, replaced name , worked expected.

so assume there "magic" though googling "rails pollresponse" didn't give me obvious.

a) in fact reserved , hence illegal query param?

b) there list of other such reserved words which, if used query string param, ignored?

a) no, there no magic keyword pollresponse rails.

b) create sure

none of gems/plugins using in rails-app somehow messes params-hash. you don't utilize keyword somewhere in code you don't have model, resource, whatever named exaclty same, cause might cause confusion in rails

ruby-on-rails param

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -