mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
avoid a proc object
This commit is contained in:
parent
fe8a307088
commit
0cf45c850c
1 changed files with 1 additions and 1 deletions
|
@ -1841,7 +1841,7 @@ module ActiveRecord
|
||||||
@reflections = []
|
@reflections = []
|
||||||
@base_records_hash = {}
|
@base_records_hash = {}
|
||||||
@base_records_in_order = []
|
@base_records_in_order = []
|
||||||
@table_aliases = Hash.new { |aliases, table| aliases[table] = 0 }
|
@table_aliases = Hash.new(0)
|
||||||
@table_aliases[base.table_name] = 1
|
@table_aliases[base.table_name] = 1
|
||||||
build(associations)
|
build(associations)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue