RubyGems Navigation menu

strict_associations 0.1.3

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.3 March 12, 2026 (8.5 KB)
  2. 0.1.2 March 12, 2026 (8 KB)
  3. 0.1.1 March 12, 2026 (8 KB)
  4. 0.1.0 March 12, 2026 (8 KB)

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 195

For this version 39

Version Released:

License:

MIT

Required Ruby Version: >= 3.1

Links: