1
0
Fork 0
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:
Aaron Patterson 2010-09-22 08:58:04 -07:00
parent b73d5e81ec
commit fe8a307088

View file

@ -1855,7 +1855,7 @@ module ActiveRecord
end
def join_associations
@joins[1..-1].to_a
@joins.last(@joins.length - 1)
end
def join_base