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 [b7bcc7e1905062f330e0a84b93a1ecacfea2a4c0] by Jon Leighton

Revision b7bcc7e1905062f330e0a84b93a1ecacfea2a4c0, committed by Jon Leighton · January 30th, 2011 @ 11:58 AM

DRY up first/last and hence make last benefit from the bugfix in first
https://github.com/rails/rails/commit/b7bcc7e1905062f330e0a84b93a1e...

2 changed files

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