diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-01-19 19:35:24 -0200 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-01-19 19:35:24 -0200 |
commit | 760b8d37d4628a26642d4efa571eaf104880a0ea (patch) | |
tree | 8ebc83448381d1cfc5a20fc6bab7e03e64a6fdfd | |
parent | 239a97af552d5e83c36d90c430330f8f9036d345 (diff) | |
download | rails-760b8d37d4628a26642d4efa571eaf104880a0ea.tar.gz rails-760b8d37d4628a26642d4efa571eaf104880a0ea.tar.bz2 rails-760b8d37d4628a26642d4efa571eaf104880a0ea.zip |
Remove warning: shadowing outer local variable
-rw-r--r-- | activesupport/lib/active_support/cache.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/cache.rb b/activesupport/lib/active_support/cache.rb index 6a1f1fefb8..edbe697962 100644 --- a/activesupport/lib/active_support/cache.rb +++ b/activesupport/lib/active_support/cache.rb @@ -282,7 +282,7 @@ module ActiveSupport if entry get_entry_value(entry, name, options) else - save_block_result_to_cache(name, options) { |name| yield name } + save_block_result_to_cache(name, options) { |_name| yield _name } end else read(name, options) |