avoid creating a range object
This commit is contained in:
parent
b73d5e81ec
commit
fe8a307088
@ -1855,7 +1855,7 @@ def graft(*associations)
|
||||
end
|
||||
|
||||
def join_associations
|
||||
@joins[1..-1].to_a
|
||||
@joins.last(@joins.length - 1)
|
||||
end
|
||||
|
||||
def join_base
|
||||
|
Loading…
Reference in New Issue
Block a user