RubyGems Navigation menu

strict_associations 0.1.9

Enforces that both sides of an association (e.g. belongs_to, has_many) are explicitly defined. Enforces that has_many (or has_one) associations define a :dependent option, or explicitly opt-out via `strict: false`

Gemfile:
=

install:
=

Versions:

  1. 0.1.9 March 13, 2026 (9 KB)
  2. 0.1.8 March 13, 2026 (9 KB)
  3. 0.1.7 March 13, 2026 (9 KB)
  4. 0.1.6 March 13, 2026 (9 KB)
  5. 0.1.5 March 13, 2026 (9 KB)
Show all versions (10 total)

Runtime Dependencies (2):

activerecord >= 7.0, < 9
railties >= 7.0, < 9

Development Dependencies (5):

reissue ~> 0.4
rspec ~> 3.0
simplecov ~> 0.22
sqlite3 ~> 2.0
standard ~> 1.0

Owners:

Pushed by:

Authors:

  • Jeff Lange

SHA 256 checksum:

=

Total downloads 779

For this version 136

Version Released:

License:

MIT

Required Ruby Version: >= 3.1

Links: