Permalink
Browse files

removing useless assingment

  • Loading branch information...
1 parent 9675c7d commit d9a0587d3ea707aa6ab3a61b54b417aff2101933 @tenderlove tenderlove committed Jul 15, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/relation/query_methods.rb
@@ -285,7 +285,7 @@ def order!(*args) # :nodoc:
references!(references) if references.any?
# if a symbol is given we prepend the quoted table name
- args = args.map! { |arg|
+ args.map! { |arg|
arg.is_a?(Symbol) ?
Arel::Nodes::Ascending.new(klass.arel_table[arg]) :
arg

0 comments on commit d9a0587

Please sign in to comment.