Autofix Rubocop Rails/EnumHash (#23737)
This commit is contained in:
@@ -16,7 +16,7 @@ class List < ApplicationRecord
|
||||
|
||||
PER_ACCOUNT_LIMIT = 50
|
||||
|
||||
enum replies_policy: [:list, :followed, :none], _prefix: :show
|
||||
enum replies_policy: { list: 0, followed: 1, none: 2 }, _prefix: :show
|
||||
|
||||
belongs_to :account, optional: true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user