提交 2bdad766 编写于 作者: E Ernie Miller

Remove case statement changes from 2e0840dd and 56ac32ad. Inheritance FTW.

上级 c713cf9a
......@@ -307,7 +307,7 @@ def reverse_sql_order(order_query)
order_query.map do |o|
case o
when Arel::Nodes::Ascending, Arel::Nodes::Descending
when Arel::Nodes::Ordering
o.reverse
when String, Symbol
o.to_s.split(',').collect do |s|
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册