Apply PercentLiteralDelimiters rubocop rule
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
class Poll::PartialResult < ApplicationRecord
|
||||
|
||||
VALID_ORIGINS = %w{web booth}
|
||||
VALID_ORIGINS = %w[web booth]
|
||||
|
||||
belongs_to :question, -> { with_hidden }
|
||||
belongs_to :author, -> { with_hidden }, class_name: "User", foreign_key: "author_id"
|
||||
|
||||
Reference in New Issue
Block a user