Modified to implement postgres adapter and...

...postgres sql changes

567 examples, 0 failures
Coverage report generated for RSpec to /Users/yzhang/the_policy_machine/coverage. 624 / 702 LOC (88.89%) covered.
Passes specs in dalton postgres branch with this commit on postgres, mysql and memory backends
I think the proper pattern is to add in `order(:id)` only when there are pagination keys in the options hash, since forcing an order when it's not needed can slightly hurt performance. That might require adjusting some specs, though, so you could put in a TODO if you want.