Fix rubocop nits

This commit is contained in:
Andreas Nedbal 2024-01-14 13:36:52 +01:00 committed by Andreas Nedbal
parent 8b55b2fe81
commit 9f823b3dd4

View file

@ -54,9 +54,9 @@ class User < ApplicationRecord
dependent: :nullify
has_many :anonymous_blocks, dependent: :destroy_async
has_many :passive_anonymous_blocks, class_name: "AnonymousBlock",
has_many :passive_anonymous_blocks, class_name: "AnonymousBlock",
foreign_key: "target_user_id",
dependent: :nullify
dependent: :nullify
SCREEN_NAME_REGEX = /\A[a-zA-Z0-9_]+\z/
WEBSITE_REGEX = /https?:\/\/([A-Za-z.-]+)\/?(?:.*)/i