Closed fatkodima closed 9 months ago
Too much version crap in this PR. I would still recommend dropping support for older railses.
active_record_doctor
is a code quality tool. People who are on old railses do not have tests, meaning they do not care about any quality and for sure won't use this tool and are not a target audience. At least rails < 6.1 can be dropped, in my mind.
I'm closing this for now as I don't believe that the original report was natural bug.
Fixes #154.
This PR fixes
missing_presence_validation
not only forenum
s (which is internally defined as anattribute
), but for anyattribute
having a default.