Using double splat operator (#5859)
This commit is contained in:
parent
42bcbd36b7
commit
b21db9bbde
25 changed files with 32 additions and 32 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue