Permalink
Browse files

Merge pull request #3178 from arunagw/argument_warning_removed

warning removed : '&' interpreted as argument prefix
  • Loading branch information...
2 parents d2888de + b0b436e commit 47a14a045e0e9eb7271e7efdfe326328d4d68470 @josevalim josevalim committed Sep 30, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/rails/generators/actions.rb
@@ -90,7 +90,7 @@ def gem_group(*names, &block)
append_file "Gemfile", "\ngroup #{name} do\n", :force => true
@in_group = true
- instance_eval &block
+ instance_eval(&block)
@in_group = false
append_file "Gemfile", "end\n", :force => true

0 comments on commit 47a14a0

Please sign in to comment.