mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
1.8 block variable shadowing strikes again
This commit is contained in:
@@ -104,8 +104,8 @@ module ActiveSupport #:nodoc:
|
||||
# element of self[Object] will be an Array of the constants that were present
|
||||
# before parent.rb was required. The second element will be an Array of the
|
||||
# constants that were present before child.rb was required.
|
||||
self[namespace].each do |constants|
|
||||
constants.concat(new_constants)
|
||||
self[namespace].each do |namespace_constants|
|
||||
namespace_constants.concat(new_constants)
|
||||
end
|
||||
|
||||
# Normalize the list of new constants, and add them to the list we will return
|
||||
|
||||
Reference in New Issue
Block a user