Bump rubocop from 1.57.2 to 1.58.0 and fix offenses
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.57.2 to 1.58.0. - [Release notes](https://github.com/rubocop/rubocop/releases) - [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md) - [Commits](https://github.com/rubocop/rubocop/compare/v1.57.2...v1.58.0) --- updated-dependencies: - dependency-name: rubocop dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
![49699333+dependabot[bot]@users.noreply.github.com](/assets/img/avatar_default.png)
committed by
Sebastian Serth

parent
be3264ac25
commit
bcb6409126
@ -28,7 +28,7 @@ class TipsController < ApplicationController
|
||||
|
||||
params[:tip]
|
||||
.permit(:title, :description, :example, :file_type_id)
|
||||
.each {|_key, value| value.strip! unless value.is_a?(Array) }
|
||||
.each_value {|value| value.strip! unless value.is_a?(Array) }
|
||||
.merge(user: current_user)
|
||||
end
|
||||
private :tip_params
|
||||
|
Reference in New Issue
Block a user