Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

save another array allocation

  • Loading branch information...
commit a929b4d4c59551189b8162f30b061c6ed5755bd5 1 parent d9a0587
@tenderlove tenderlove authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  activerecord/lib/active_record/relation/query_methods.rb
View
2  activerecord/lib/active_record/relation/query_methods.rb
@@ -291,7 +291,7 @@ def order!(*args) # :nodoc:
arg
}
- self.order_values = args + self.order_values
+ self.order_values = args.concat self.order_values
self
end
Please sign in to comment.
Something went wrong with that request. Please try again.