diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-08-24 18:08:36 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-08-25 05:17:49 -0700 |
commit | b28cafe01a8165f0e9401225b3702a504ea1d8e9 (patch) | |
tree | 05f87b4d7cc4976edb99160582da325ff4aab6f1 | |
parent | ce7c2f72f42f8f89517810fc6e51c21118af6a39 (diff) | |
download | rails-b28cafe01a8165f0e9401225b3702a504ea1d8e9.tar.gz rails-b28cafe01a8165f0e9401225b3702a504ea1d8e9.tar.bz2 rails-b28cafe01a8165f0e9401225b3702a504ea1d8e9.zip |
no need to send on a public method
-rw-r--r-- | activerecord/lib/active_record/relation/query_methods.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/relation/query_methods.rb b/activerecord/lib/active_record/relation/query_methods.rb index 6fb97c6eb4..321beadb0c 100644 --- a/activerecord/lib/active_record/relation/query_methods.rb +++ b/activerecord/lib/active_record/relation/query_methods.rb @@ -96,7 +96,7 @@ module ActiveRecord end def reverse_order - order_clause = arel.send(:order_clauses).join(', ') + order_clause = arel.order_clauses.join(', ') relation = except(:order) unless order_clauses.blank? |