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 /activerecord/lib/active_record/attribute_methods/time_zone_conversion.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 'activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb')
0 files changed, 0 insertions, 0 deletions