RubyGems Navigation menu

active_record_distinct_on 1.4.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:
=

install:
=

Versions:

  1. 1.10.0 October 28, 2025 (5.5 KB)
  2. 1.9.0 June 17, 2025 (5.5 KB)
  3. 1.8.0 December 14, 2024 (5.5 KB)
  4. 1.7.0 November 11, 2024 (5.5 KB)
  5. 1.6.0 January 19, 2024 (5.5 KB)
  6. 1.4.0 April 28, 2022 (5 KB)
Show all versions (19 total)

Runtime Dependencies (1):

activerecord >= 5.2, < 7.1

Development Dependencies (7):

appraisal >= 0
bundler >= 0
pry >= 0
rake >= 12.3.3
rspec >= 0
simplecov >= 0
sqlite3 >= 0

Owners:

Pushed by:

Authors:

  • Alec Larsen

SHA 256 checksum:

=

Total downloads 936,943

For this version 135,069

Version Released:

License:

MIT

Required Ruby Version: >= 0

Links: