-
[Rails5] Add `safe_params` helper · eddf3febblackst0ne authored
Rails 5.0 requires to explicitly permit attributes when building a URL using current `params` object. The `safe_params` helper allows developers to just call `safe_params.merge(...)` instead of manually adding `permit` to every call. https://github.com/rails/rails/pull/20868
eddf3feb
×