RubyGems Navigation menu

time_range_uniqueness 1.0.0

This gem helps you easily set up time range uniqueness constraints in PostgreSQL using ActiveRecord migrations and validations. It ensures that time ranges do not overlap within a table, supporting optional scoping of uniqueness.

Gemfile:
=

install:
=

Versions:

  1. 1.0.3 June 05, 2026 (11.5 KB)
  2. 1.0.2 May 31, 2026 (10.5 KB)
  3. 1.0.1 May 31, 2026 (10.5 KB)
  4. 1.0.0 May 31, 2026 (10 KB)
  5. 0.1.0 September 15, 2024 (11 KB)

Runtime Dependencies (2):

activerecord >= 7.1, < 9.0
pg >= 1.5

Owners:

Pushed by:

Authors:

  • j-boers-13

SHA 256 checksum:

=

Total downloads 1,003

For this version 114

Version Released:

License:

MIT

Required Ruby Version: >= 3.2.0

New versions require MFA: true

Version published with MFA: true

Links: