Commit 4bb45178635cfed21ffd406b0557873cea50dbd8
Exists in
master
and in
13 other branches
Merge branch 'master' of https://github.com/ProjectDragonfly/groupdate into ProjectDragonfly-master
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
lib/groupdate/magic.rb
... | ... | @@ -108,7 +108,7 @@ module Groupdate |
108 | 108 | |
109 | 109 | def perform(relation, method, *args, &block) |
110 | 110 | # undo reverse since we do not want this to appear in the query |
111 | - reverse = relation.reverse_order_value | |
111 | + reverse = relation.send(:reverse_order_value) | |
112 | 112 | if reverse |
113 | 113 | relation = relation.except(:reverse_order) |
114 | 114 | end | ... | ... |