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.

Proc#binding should be explicitly called in Ruby 1.9

#623

We found that some tests in action_pack results in error on Ruby 1.9 trunk, since Proc#binding will not automatically called anymore since Ruby 1.9(according to ko1 Sasada).

This patch simply adds an explicit Proc#binding method call to avoid the error.

Tested in Ruby 1.8.6, 1.8.7 and 1.9 trunk.

Reported by Akira Matsuda · July 15th, 2008 @ 03:06 PM

State: resolved
Milestone: 2.1.1
Assigned to: Jeremy Kemper Jeremy Kemper
Importance: none

Activity

  1. Pratik
    Pratik
    • Assigned user set to Jeremy Kemper

    July 15th, 2008 @ 03:12 PM

  2. Jeremy Kemper
    Jeremy Kemper
    • Milestone changed from 2.x to 2.1.1
    • State changed from new to open

    July 15th, 2008 @ 06:43 PM

  3. Repository
    Repository
    • State changed from open to resolved

    (from [bb33432b0f5bf644713e696e4dafc7e7d3cc5808]) Ruby 1.9 compat: call Proc#binding explicitly. [#623 state:resolved]

    http://github.com/rails/rails/co...

    July 15th, 2008 @ 07:22 PM