Commit graph

2 commits

Author SHA1 Message Date
blackst0ne
2ee53feea8 Fix typos in comments [ci skip] 2018-04-08 16:27:27 +11:00
blackst0ne
eddf3febd7 [Rails5] Add safe_params helper
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
2018-04-08 15:35:30 +11:00