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 [fe43bbd8c71fabb4b612808c42461b2ba9655318] by Xavier Noria

Revision fe43bbd8c71fabb4b612808c42461b2ba9655318, committed by Xavier Noria · March 12th, 2010 @ 07:53 PM

keep AssociationProxy#to_a to avoid warning in Array(post.author), and delegate it to @target in association collections

[#4165 state:committed]

Signed-off-by: Jeremy Kemper jeremy@bitsweat.net
http://github.com/rails/rails/commit/fe43bbd8c71fabb4b612808c42461b...

2 changed files

  • M activerecord/lib/active_record/associations/association_collection.rb
  • M activerecord/lib/active_record/associations/association_proxy.rb