This project is archived and is in readonly mode.

#3070 ✓stale
Peter Abrahamsen

AssociationProxy#send should pass through a block

Reported by Peter Abrahamsen | August 19th, 2009 @ 03:13 AM

I'm trying to call a method we've added to Array which takes a couple arguments and a block. AssociationProxy does not pass the block through to Array, which fails. Adding them to the signature of send and the @target.send call fixes the problem.

Comments and changes to this ticket

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>

Pages