This project is archived and is in readonly mode.
Changeset [1fd3ac6b5f3736abf2f9f401e4f5b2ccac8d7d2e] by Alex Rothenberg
Revision 1fd3ac6b5f3736abf2f9f401e4f5b2ccac8d7d2e,
committed by Alex Rothenberg
· November 18th, 2010 @ 05:59 PM
Adapters can specify maximum number of ids they support in a
list of expressions
(default is nil meaning unlimited but Oracle imposes a limit of
1000) Limit is used to make multiple queries when preloading
associated has_many or habtm records
https://github.com/rails/rails/commit/1fd3ac6b5f3736abf2f9f401e4f5b...
3 changed files
-
M
activerecord/lib/active_record/association_preload.rb -
M
activerecord/lib/active_record/connection_adapters/abstract_adapter.rb -
M
activerecord/test/cases/associations/eager_test.rb