Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

removing useless assingment

  • Loading branch information...
commit d9a0587d3ea707aa6ab3a61b54b417aff2101933 1 parent 9675c7d
@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
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.