Skip to content
Browse files

save another array allocation

  • Loading branch information...
1 parent d9a0587 commit a929b4d4c59551189b8162f30b061c6ed5755bd5 @tenderlove tenderlove committed Jul 15, 2013
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

0 comments on commit a929b4d

Please sign in to comment.
Something went wrong with that request. Please try again.