Skip to content

Commit b426486

Browse files
committed
Fix linting errors
Fix RuboCop offenses found when running version 1.86.0.
1 parent 60fb249 commit b426486

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/models/step.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def assign_question_attributes(params)
5454
end
5555

5656
def params
57-
question.attribute_names.concat([selection: []])
57+
question.attribute_names.concat([{ selection: [] }])
5858
end
5959

6060
delegate :valid?, to: :question

0 commit comments

Comments
 (0)