simple_enum icon indicating copy to clipboard operation
simple_enum copied to clipboard

Ability to Disable Scopes Completely?

Open joshuapinter opened this issue 4 years ago • 0 comments

There are often times when it doesn't make any sense to add scopes to an enum attribute. i.e. You would never query the parent Model for certain values of that enum attribute.

I know you can disable pluralizing scopes but can you disable scopes altogether for certain enum attributes?

This would help remove methods from the parent Model that don't add value. Reduced noise. Improve clarity of intentions.

If not, let me know if this is something you would consider adding and I'll write up a PR for it.

joshuapinter avatar Apr 16 '21 17:04 joshuapinter