Skip to content
Browse files

no need to send on a public method

  • Loading branch information...
1 parent ce7c2f7 commit b28cafe01a8165f0e9401225b3702a504ea1d8e9 @tenderlove tenderlove committed Aug 24, 2010
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
@@ -96,7 +96,7 @@ def extending(*modules, &block)
end
def reverse_order
- order_clause = arel.send(:order_clauses).join(', ')
+ order_clause = arel.order_clauses.join(', ')
relation = except(:order)
unless order_clauses.blank?

0 comments on commit b28cafe

Please sign in to comment.
Something went wrong with that request. Please try again.