I'm updating to rails 4.2 and get this deprecation warning:
Calling URL helpers with string keys controller, action is deprecated. Use symbols instead.
In the controller I am reusing the params to create some links with the same parameters like this:
@csv_prms = params
@csv_prms[:format] = :csv
...
In the view I do:
= link_to 'CSV', report_path(@csv_prms)
Now I noticed that by default the action and controller in params are strings instead of symbols. Isn't that illogical since they are deprecated to use in URL helpers?