This project is archived and is in readonly mode.
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
-
Peter Abrahamsen August 19th, 2009 @ 03:14 AM
FWIW, this is:
ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-darwin9]
Rails 2.3.2, but it looks like 2.3.3 has the same code. -
David Trasbo April 15th, 2010 @ 04:24 PM
- Assigned user set to Ryan Bigg
Peter,
If this issue is still relevant you'll have to elaborate. Until then this ticket can be closed.
-
Ryan Bigg April 15th, 2010 @ 11:01 PM
- State changed from new to incomplete
Please submit a patch if this is still causing issue.
-
Rohit Arondekar September 14th, 2010 @ 05:16 AM
- State changed from incomplete to stale
- Importance changed from to
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>