summaryrefslogtreecommitdiff
path: root/app/helpers/safe_params_helper.rb
Commit message (Collapse)AuthorAgeFilesLines
* Disable existing offenses for the CodeReuse copsYorick Peterse2018-09-111-0/+2
| | | | | This whitelists all existing offenses for the various CodeReuse cops, of which most are triggered by the CodeReuse/ActiveRecord cop.
* Enable frozen string for app/helpers/**/*.rbgfyoung2018-09-061-0/+2
| | | | Partially addresses #47424.
* Fix typos in comments [ci skip]blackst0ne-rails5-add-safe-params-helperblackst0ne2018-04-081-2/+2
|
* [Rails5] Add `safe_params` helperblackst0ne2018-04-081-0/+11
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