Skip to content

Commit

Permalink
save another array allocation
Browse files Browse the repository at this point in the history
  • Loading branch information
tenderlove committed Jul 15, 2013
1 parent d9a0587 commit a929b4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/lib/active_record/relation/query_methods.rb
Expand Up @@ -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

Expand Down

0 comments on commit a929b4d

Please sign in to comment.