forked from activerecord-hackery/squeel
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Reported issue involving reoder and last
This should Resolve activerecord-hackery#418 Since the 4.1 version of `reverse_order!` is used, an additional check has been added to actually reorder the `ORDER BY` clause if there are non-nil elements of it. Additionally, a spec has been added to ensure proper ordering takes place.
- Loading branch information
Jake Yesbeck
committed
Apr 15, 2016
1 parent
5542266
commit c17fada
Showing
2 changed files
with
8 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters