RubyGems Navigation menu

safe_polymorphic 0.1.4

ActiveRecord extension which allows us to safely use polymorphic associations, by validatingwhich classes are allowed to be related to, while also adding scopes and helper methods.

Gemfile:
=

install:
=

Versions:

  1. 0.1.5 March 16, 2026 (702 KB)
  2. 0.1.4 March 11, 2026 (701 KB)
  3. 0.1.3 August 13, 2024 (697 KB)
  4. 0.1.2 December 28, 2022 (11.5 KB)
  5. 0.1.1 December 28, 2022 (11.5 KB)
Show all versions (6 total)

Runtime Dependencies (1):

activerecord >= 7.0, < 8.3

Owners:

Pushed by:

Authors:

  • Nicolas Erlichman

SHA 256 checksum:

=

Total downloads 3,941

For this version 122

Version Released:

License:

MIT

Required Ruby Version: >= 3.2.0

New versions require MFA: true

Version published with MFA: true

Links: