diff options
author | Arun Agrawal <arun@fromjaipur.com> | 2011-09-04 08:17:53 +0530 |
---|---|---|
committer | Arun Agrawal <arun@fromjaipur.com> | 2011-09-04 08:17:53 +0530 |
commit | 34618e6697475bca8b4bcfaaa2d55a99e78c031a (patch) | |
tree | e8976f6b317c7016638af3f3d3439ad6f6fcbf60 /railties/lib/rails/generators/actions.rb | |
parent | 0a38e2a5ce2eaf7393958721edbfcf2a7fe87334 (diff) | |
download | rails-34618e6697475bca8b4bcfaaa2d55a99e78c031a.tar.gz rails-34618e6697475bca8b4bcfaaa2d55a99e78c031a.tar.bz2 rails-34618e6697475bca8b4bcfaaa2d55a99e78c031a.zip |
Warnings removed for using shadow variable.
Diffstat (limited to 'railties/lib/rails/generators/actions.rb')
-rw-r--r-- | railties/lib/rails/generators/actions.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/rails/generators/actions.rb b/railties/lib/rails/generators/actions.rb index a7462f39ba..c43a99e85c 100644 --- a/railties/lib/rails/generators/actions.rb +++ b/railties/lib/rails/generators/actions.rb @@ -119,8 +119,8 @@ module Rails if commands.is_a?(Symbol) run "git #{commands}" else - commands.each do |command, options| - run "git #{command} #{options}" + commands.each do |cmd, options| + run "git #{cmd} #{options}" end end end |