always permit selected parameters in strong parameters in rails 4.0.8 -


I'm always trying to allow a specific parameter 'format' in strong parameters. I am currently using Rail 4.0.8

It has been included in the rail. 4.1

Rail guide suggests that it is configurable

< P> config.action_controller Always_permitted_parameters =% w (controller action format)

I'm trying to find a way around in Rail 4.0.8. Can it be achieved with some port patch?


Comments

Popular posts from this blog

sqlite3 - UPDATE a table from the SELECT of another one -

c# - Showing a SelectedItem's Property -

javascript - Render HTML after each iteration in loop -