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 [8d0b4fa39fab6e5d1e3382b4b137cc47e559b0be] by josevalim

Revision 8d0b4fa39fab6e5d1e3382b4b137cc47e559b0be, committed by Repository · May 24th, 2008 @ 06:58 AM

Added :select option to has_one and belongs_to, remove unused :order option on belongs_to.

Signed-off-by: Michael Koziarski

[#241 state:resolved]

http://github.com/rails/rails/co...

7 changed files

  • M activerecord/lib/active_record/associations.rb
  • M activerecord/lib/active_record/associations/belongs_to_association.rb
  • M activerecord/lib/active_record/associations/belongs_to_polymorphic_association.rb
  • M activerecord/lib/active_record/associations/has_one_association.rb
  • M activerecord/test/cases/associations/belongs_to_associations_test.rb
  • M activerecord/test/cases/associations/has_one_associations_test.rb
  • M activerecord/test/models/company.rb