提交 9845cd63 编写于 作者: A Akira Matsuda

Separate keyword arguments from parameters

上级 92343977
......@@ -58,7 +58,8 @@ def lookup_store(*store_option)
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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册