Named scopes shouldn't test equality using to_a if it's not an Array, this was...
Named scopes shouldn't test equality using to_a if it's not an Array, this was causing records to be loaded before they were needed.
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
Showing
想要评论请 注册 或 登录