-
由 Emilio Tagua 提交于
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>
8d99ec9a
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>