rails/arel — pull request #315 by tamird (2014-09-16 14:19:19+00:00)
Title: Wrap group_by sql with a subquery for limiting rows in Oracle.

Fixes #128

Rebase of #129