diff options
author | Ernie Miller <ernie@metautonomo.us> | 2011-07-06 16:13:57 -0400 |
---|---|---|
committer | Ernie Miller <ernie@metautonomo.us> | 2011-07-06 16:13:57 -0400 |
commit | 2bdad7669c7a46e8c1362bd4d4e3c996496a6807 (patch) | |
tree | 8bbcb0f8155aed0128e4e7164be524fe255c0667 | |
parent | c713cf9a5d9db60c4387e74acb9de66e3e7f9b37 (diff) | |
download | rails-2bdad7669c7a46e8c1362bd4d4e3c996496a6807.tar.gz rails-2bdad7669c7a46e8c1362bd4d4e3c996496a6807.tar.bz2 rails-2bdad7669c7a46e8c1362bd4d4e3c996496a6807.zip |
Remove case statement changes from 2e0840d and 56ac32a. Inheritance FTW.
-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 ec2e4d4dcd..d17861f407 100644 --- a/activerecord/lib/active_record/relation/query_methods.rb +++ b/activerecord/lib/active_record/relation/query_methods.rb @@ -307,7 +307,7 @@ module ActiveRecord order_query.map do |o| case o - when Arel::Nodes::Ascending, Arel::Nodes::Descending + when Arel::Nodes::Ordering o.reverse when String, Symbol o.to_s.split(',').collect do |s| |