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 [c48a71c7e48fa14890531de995a1253abaadb296] by Eloy Duran

Revision c48a71c7e48fa14890531de995a1253abaadb296, committed by Eloy Duran · January 7th, 2010 @ 12:20 PM

Cleanup some code in nested_attributes.rb, autosave_association.rb, and associations.rb with AssociationReflection#collection_association?

Also cache the result value.
http://github.com/rails/rails/commit/c48a71c7e48fa14890531de995a125...

4 changed files

  • M activerecord/lib/active_record/associations.rb
  • M activerecord/lib/active_record/autosave_association.rb
  • M activerecord/lib/active_record/nested_attributes.rb
  • M activerecord/lib/active_record/reflection.rb