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

Revision c6db37e69b1ff07f7ad535d4752d0e6eb2d15bff, committed by Jon Leighton · December 23rd, 2010 @ 11:19 PM

Don't allow a has_one association to go :through a collection association [#2976 state:resolved]
https://github.com/rails/rails/commit/c6db37e69b1ff07f7ad535d4752d0...

5 changed files

  • M activerecord/lib/active_record/associations.rb
  • M activerecord/lib/active_record/reflection.rb
  • M activerecord/test/cases/associations/has_one_through_associations_test.rb
  • M activerecord/test/models/author.rb
  • M activerecord/test/models/member.rb