This project is archived and is in readonly mode.

#623 ✓resolved
Akira Matsuda

Proc#binding should be explicitly called in Ruby 1.9

Reported by Akira Matsuda | July 15th, 2008 @ 03:06 PM | in 2.1.1

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.

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>

Attachments

Pages