提交 117b096d 编写于 作者: A Aaron Patterson

avoid passing lists of lists to the group clause

上级 3cbe1114
......@@ -31,7 +31,7 @@ def select(*args)
end
def group(*args)
clone.tap {|r| r.group_values += args if args.present? }
clone.tap {|r| r.group_values += args.flatten if args.present? }
end
def order(*args)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册