提交 b3123348 编写于 作者: P Pratik Naik

Make Model.find(:all) use relations

上级 a3f3fab7
......@@ -649,7 +649,7 @@ def find(*args)
when :last
find_last(options)
when :all
find_every(options)
construct_finder_arel_with_includes(options).all
else
construct_finder_arel_with_includes(options).find(*args)
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册