avoid creating a range object

This commit is contained in:
Aaron Patterson 2010-09-22 08:58:04 -07:00
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