Permalink
Browse files

reverse_order_value= is not private, so no need to send

It's not public API, but is not private scoped.
  • Loading branch information...
1 parent 81d10b9 commit 1e2d7c2de2d28afbb2d5ee8b656fe7195b17ad74 @tenderlove tenderlove committed Jan 14, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/relation/query_methods.rb
@@ -859,7 +859,7 @@ def symbol_unscoping(scope)
case scope
when :order
- self.send(:reverse_order_value=, false)
+ self.reverse_order_value = false
result = []
else
result = [] unless single_val_method

0 comments on commit 1e2d7c2

Please sign in to comment.