active_record_distinct_on 1.2.0
ActiveRecordDistinctOn adds support for `DISTINCT ON` to ActiveRecord. At the time of this writing, PostgreSQL is the only database which supports this syntax; however, this gem has been written with database independence in mind so that if another Arel visitor adds support for `Arel::Nodes::DistinctOn` in the future, it should work seamlessly.
Gemfile:
=
instalar:
=
dependencias de Runtime (1):
activerecord
>= 5.2, < 6.2