diff options
author | Pratik Naik <pratiknaik@gmail.com> | 2009-03-11 14:52:51 +0000 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2009-03-11 15:07:24 +0000 |
commit | f23adf0ed4bd596c9e7688455489a79f8b35eb3f (patch) | |
tree | 2afc6fd0a1277a036e19b207a7299572aebdfd77 /activerecord/lib/active_record | |
parent | 0b6f514947c38bf7af2b7e98905a49a94832e5f6 (diff) | |
download | rails-f23adf0ed4bd596c9e7688455489a79f8b35eb3f.tar.gz rails-f23adf0ed4bd596c9e7688455489a79f8b35eb3f.tar.bz2 rails-f23adf0ed4bd596c9e7688455489a79f8b35eb3f.zip |
Add tests for AssociationCollection#find_each and AssociationCollection#find_in_batches
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r-- | activerecord/lib/active_record/associations/association_collection.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/associations/association_collection.rb b/activerecord/lib/active_record/associations/association_collection.rb index 0fefec1216..f024f99a34 100644 --- a/activerecord/lib/active_record/associations/association_collection.rb +++ b/activerecord/lib/active_record/associations/association_collection.rb @@ -60,7 +60,7 @@ module ActiveRecord @reflection.klass.find(*args) end end - + # Fetches the first one using SQL if possible. def first(*args) if fetch_first_or_last_using_find?(args) |