mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 12:39:53 +01:00
Fix rubocop nits
This commit is contained in:
parent
8b55b2fe81
commit
9f823b3dd4
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue