safe_polymorphic 0.1.2
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:
=
Copy to clipboard
Copied!
install:
=
Runtime Dependencies (1):
activerecord
>= 5.2, < 7.1