Fix a bunch of rubocop offenses

This commit is contained in:
Lars Henrik Mai 2020-03-09 14:55:53 +01:00
parent 106c6800a4
commit 4e1e8b798a
17 changed files with 57 additions and 222 deletions

View file

@ -19,6 +19,6 @@ class CreatePapers < ActiveRecord::Migration[4.2]
add_index(:papers, :reference)
add_index(:papers, :originator)
add_index(:papers, :body)
add_index(:papers, [:reference, :body], unique: true)
add_index(:papers, %i[reference body], unique: true)
end
end