mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
avoid creating a range object
This commit is contained in:
parent
b73d5e81ec
commit
fe8a307088
1 changed files with 1 additions and 1 deletions
|
@ -1855,7 +1855,7 @@ module ActiveRecord
|
|||
end
|
||||
|
||||
def join_associations
|
||||
@joins[1..-1].to_a
|
||||
@joins.last(@joins.length - 1)
|
||||
end
|
||||
|
||||
def join_base
|
||||
|
|
Loading…
Reference in a new issue