Fix Rails/ActiveRecordCallbacksOrder cop (#24689)
This commit is contained in:
@ -36,8 +36,8 @@ class SessionActivation < ApplicationRecord
|
||||
detection.platform.id
|
||||
end
|
||||
|
||||
before_create :assign_access_token
|
||||
before_save :assign_user_agent
|
||||
before_create :assign_access_token
|
||||
|
||||
class << self
|
||||
def active?(id)
|
||||
|
Reference in New Issue
Block a user