This project is archived and is in readonly mode.

Changeset [050e58441bf7e60d167f6708072f8fa7aee2ce76] by Jan De Poorter

September 22nd, 2008 @ 06:22 PM

Association#first and last should not load the association if not needed. [#1091 state:resolved]

Signed-off-by: Pratik Naik pratiknaik@gmail.com http://github.com/rails/rails/co...

Committed by Jan De Poorter

  • M activerecord/lib/active_record/associations/association_collection.rb
  • M activerecord/test/cases/associations/has_and_belongs_to_many_associations_test.rb
  • M activerecord/test/cases/associations/has_many_associations_test.rb

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>