You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
A not-null constraint is enough to prevent three states in a boolean column. Enforcing to have a default value feels too restrictive. Some apps might want to set values explicitly in ruby.
Describe the solution you'd like
Stop enforcing to have a default value in ThreeStateBooleanColumn.
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered:
If RuboCop Rails provides a new option like RequireDefaultValue: false, it is synonymous with Rails/NotNullColumn. So if you don't like it, just disable Rails/ThreeStateBooleanColumn.
Is your feature request related to a problem? Please describe.
A not-null constraint is enough to prevent three states in a boolean column. Enforcing to have a default value feels too restrictive. Some apps might want to set values explicitly in ruby.
Describe the solution you'd like
Stop enforcing to have a default value in ThreeStateBooleanColumn.
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: