Autofix Rubocop Rails/EnumHash (#23737)
This commit is contained in:
parent
44a7d87cb1
commit
63e6353886
10 changed files with 12 additions and 28 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue