Autofix Rubocop remaining Layout rules (#23679)
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: session_activations
|
||||
@@ -51,6 +52,7 @@ class SessionActivation < ApplicationRecord
|
||||
|
||||
def deactivate(id)
|
||||
return unless id
|
||||
|
||||
where(session_id: id).destroy_all
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user