diff options
author | Arun Agrawal <arunagw@gmail.com> | 2013-11-01 11:05:36 +0100 |
---|---|---|
committer | Arun Agrawal <arunagw@gmail.com> | 2013-11-01 13:47:23 +0100 |
commit | dbdb25463c257a9efd0771c6876756263fd071f1 (patch) | |
tree | 6e5a4e86033368b05b6994d562fe4be6c3bdad4c /railties | |
parent | c10a78124c1c32f8ce3a92888863b9b258efcc06 (diff) | |
download | rails-dbdb25463c257a9efd0771c6876756263fd071f1.tar.gz rails-dbdb25463c257a9efd0771c6876756263fd071f1.tar.bz2 rails-dbdb25463c257a9efd0771c6876756263fd071f1.zip |
shadowing variable warning removed
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/generators/rails/app/app_generator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/rails/app/app_generator.rb b/railties/lib/rails/generators/rails/app/app_generator.rb index f86f938bc2..3c62e7a4d2 100644 --- a/railties/lib/rails/generators/rails/app/app_generator.rb +++ b/railties/lib/rails/generators/rails/app/app_generator.rb @@ -349,7 +349,7 @@ module Rails if argv.find { |arg| arg == '--no-rc' } argv.reject { |arg| arg == '--no-rc' } else - railsrc(argv) { |argv, rc| insert_railsrc_into_argv!(argv, rc) } + railsrc(argv) { |rc_argv, rc| insert_railsrc_into_argv!(rc_argv, rc) } end end |