Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing_presence_validation: ignore type columns for required polymorphic belongs_to associations #191

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fatkodima
Copy link
Contributor

Currently, if there is a required polymorphic belongs_to association with non null for both columns, missing_presence_validation suggests to add a presence validation for a type column, which is not needed.

@gregnavis gregnavis added the false positive Pull requests that fix false positives label Dec 12, 2024
@gregnavis gregnavis added this to the 2.0 milestone Jan 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
false positive Pull requests that fix false positives
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants