diff options
author | Emilio Tagua <miloops@gmail.com> | 2010-03-30 10:41:56 -0300 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-03-30 15:36:18 +0200 |
commit | 8d99ec9a4dcef5918c4487a0d94ef0a9622fe8c9 (patch) | |
tree | aeb56a9d16aa9165e2ea5695da43c49da784ce30 /actionpack/test/controller/send_file_test.rb | |
parent | 41b45d56553316f175660fe6e2923409adee37e2 (diff) | |
download | rails-8d99ec9a4dcef5918c4487a0d94ef0a9622fe8c9.tar.gz rails-8d99ec9a4dcef5918c4487a0d94ef0a9622fe8c9.tar.bz2 rails-8d99ec9a4dcef5918c4487a0d94ef0a9622fe8c9.zip |
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: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'actionpack/test/controller/send_file_test.rb')
0 files changed, 0 insertions, 0 deletions