Skip to content

Commit

Permalink
removing useless assingment
Browse files Browse the repository at this point in the history
  • Loading branch information
tenderlove committed Jul 15, 2013
1 parent 9675c7d commit d9a0587
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/lib/active_record/relation/query_methods.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d9a0587

Please sign in to comment.