Skip to content

Commit

Permalink
no need to send on a public method
Browse files Browse the repository at this point in the history
  • Loading branch information
tenderlove committed Aug 25, 2010
1 parent ce7c2f7 commit b28cafe
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 @@ -96,7 +96,7 @@ def extending(*modules, &block)
end end


def reverse_order def reverse_order
order_clause = arel.send(:order_clauses).join(', ') order_clause = arel.order_clauses.join(', ')
relation = except(:order) relation = except(:order)


unless order_clauses.blank? unless order_clauses.blank?
Expand Down

0 comments on commit b28cafe

Please sign in to comment.