This project is archived and is in readonly mode.

Changeset [fe43bbd8c71fabb4b612808c42461b2ba9655318] 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...

Committed by Xavier Noria

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

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>