So I am familiarising myself with both rails and of course rails 4.
So this is what I have at the bottom of my controller
def post_params
params.re
If you're on Rails 4 this might not work: the parameters that you tamper with are no longer accepted even if you explicitly whitelist them via strong params.
It looks like Rails is detecting the change and prevents it from being permitted.
Probably a better way is to retrieve the values from the parameters in a controller action and make them lowercase:
a = params([:model_name][:id])
a.downcase!