diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-11-18 10:01:21 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-11-18 10:01:29 -0800 |
commit | 26923756fb23eb9c2993a365f9819027f20d5e77 (patch) | |
tree | 6debf9e84473b55c8da686eae72e0f046ac50e4d /activerecord/lib/active_record | |
parent | c5a284f8eb6113f06030ea7a18543905146e8768 (diff) | |
download | rails-26923756fb23eb9c2993a365f9819027f20d5e77.tar.gz rails-26923756fb23eb9c2993a365f9819027f20d5e77.tar.bz2 rails-26923756fb23eb9c2993a365f9819027f20d5e77.zip |
removing space errors
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r-- | activerecord/lib/active_record/association_preload.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/association_preload.rb b/activerecord/lib/active_record/association_preload.rb index a205549d60..9743b1b4a7 100644 --- a/activerecord/lib/active_record/association_preload.rb +++ b/activerecord/lib/active_record/association_preload.rb @@ -387,7 +387,7 @@ module ActiveRecord def in_or_equals_for_ids(ids) ids.size > 1 ? "IN (?)" : "= ?" end - + # Some databases impose a limit on the number of ids in a list (in Oracle its 1000) # Make several smaller queries if necessary or make one query if the adapter supports it def associated_records(ids) |