This project is archived and is in readonly mode.
Ruby 1.9 compat: block parameters must be local variable
Reported by Akira Matsuda | September 9th, 2008 @ 09:02 AM
Due to this change in Ruby 1.9, http://www.ruby-forum.com/topic/...
script/plugin throws a SyntaxError
formal argument cannot be an instance variable (SyntaxError)
in Ruby 1.9.
Added a patch tested on Ruby 1.9 trunk and Ruby 1.8.7.
Comments and changes to this ticket
-
Repository September 9th, 2008 @ 06:39 PM
- State changed from new to resolved
(from [5f7c42413b099f8811c45a27202cce5dc9e7d285]) Ruby 1.9 compat: remove instance variables and global variables from block parameters
[#1000 state:resolved]
Signed-off-by: Jeremy Kemper jeremy@bitsweat.net http://github.com/rails/rails/co...
-
Jeremy Kemper September 9th, 2008 @ 07:02 PM
- Milestone cleared.
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>
People watching this ticket
Attachments
Referenced by
- 1000 Ruby 1.9 compat: block parameters must be local variable [#1000 state:resolved]