This project is archived and is in readonly mode.
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
-
Pratik July 15th, 2008 @ 03:12 PM
- Assigned user set to Jeremy Kemper
-
Jeremy Kemper July 15th, 2008 @ 06:43 PM
- Milestone changed from 2.x to 2.1.1
- State changed from new to open
-
Repository July 15th, 2008 @ 07:22 PM
- State changed from open to resolved
(from [bb33432b0f5bf644713e696e4dafc7e7d3cc5808]) Ruby 1.9 compat: call Proc#binding explicitly. [#623 state:resolved]
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>