Remove useless .to_s
This commit is contained in:
parent
de48dab031
commit
bf9f3b40df
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ class RootController < ApplicationController
|
|||
|
||||
type_champ_values.each do |(type_champ, value)|
|
||||
all_champs
|
||||
.select { |champ| champ.type_champ == type_champ.to_s }
|
||||
.select { |champ| champ.type_champ == type_champ }
|
||||
.each { |champ| champ.value = value }
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue