Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Changeset [c5a284f8eb6113f06030ea7a18543905146e8768] by Alex Rothenberg

Revision c5a284f8eb6113f06030ea7a18543905146e8768, 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/c5a284f8eb6113f06030ea7a18543...

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