Enable all the rubicop perf cops
This commit is contained in:
parent
b76a7c9975
commit
379e7b74d6
9 changed files with 36 additions and 36 deletions
|
@ -1,5 +1,5 @@
|
|||
class EtablissementCsvSerializer < EtablissementSerializer
|
||||
def adresse
|
||||
object.adresse.chomp.gsub("\r\n", ' ').gsub("\r", '')
|
||||
object.adresse.chomp.gsub("\r\n", ' ').delete("\r")
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue