提交 9d52b45a 编写于 作者: T Thiago Almeida

relation .present? and .blank? should not query SELECT COUNT(DISTINCT id)

上级 e2b67513
......@@ -507,6 +507,10 @@ def with_default_scope #:nodoc:
end
end
def blank?
to_a.blank?
end
private
def references_eager_loaded_tables?
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册