mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Separate keyword arguments from parameters
This commit is contained in:
parent
923439777a
commit
9845cd6338
1 changed files with 2 additions and 1 deletions
|
@ -58,7 +58,8 @@ module ActiveSupport
|
|||
|
||||
case store
|
||||
when Symbol
|
||||
retrieve_store_class(store).new(*parameters)
|
||||
options = parameters.extract_options!
|
||||
retrieve_store_class(store).new(*parameters, **options)
|
||||
when nil
|
||||
ActiveSupport::Cache::MemoryStore.new
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue