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

Member with no value in F# -

java - Joda Time Interval Not returning what I expect -

c# - Showing a SelectedItem's Property -