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.

AssociationProxy#send should pass through a block

#3070

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.

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

State: stale
Milestone: none
Assigned to: Ryan Bigg Ryan Bigg
Importance: none

Activity

  1. Peter Abrahamsen
    Peter Abrahamsen

    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.

    August 19th, 2009 @ 03:14 AM

  2. David Trasbo
    David Trasbo
    • 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.

    April 15th, 2010 @ 04:24 PM

  3. Ryan Bigg
    Ryan Bigg
    • State changed from new to incomplete

    Please submit a patch if this is still causing issue.

    April 15th, 2010 @ 11:01 PM

  4. Rohit Arondekar
    Rohit Arondekar
    • State changed from incomplete to stale
    • Importance changed from to

    September 14th, 2010 @ 05:16 AM