提交 fe8a3070 编写于 作者: A Aaron Patterson

avoid creating a range object

上级 b73d5e81
...@@ -1855,7 +1855,7 @@ def graft(*associations) ...@@ -1855,7 +1855,7 @@ def graft(*associations)
end end
def join_associations def join_associations
@joins[1..-1].to_a @joins.last(@joins.length - 1)
end end
def join_base def join_base
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册