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

Revision 2171e0a1d13a176db1e9e9dd55242fdb319b526c, committed by Eloy Duran · January 7th, 2010 @ 12:19 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/2171e0a1d13a176db1e9e9dd55242f...

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