Using double splat operator (#5859)
This commit is contained in:
committed by
Eugen Rochko
parent
42bcbd36b7
commit
b21db9bbde
@ -53,7 +53,7 @@ class SessionActivation < ApplicationRecord
|
||||
id && where(session_id: id).exists?
|
||||
end
|
||||
|
||||
def activate(options = {})
|
||||
def activate(**options)
|
||||
activation = create!(options)
|
||||
purge_old
|
||||
activation
|
||||
|
Reference in New Issue
Block a user