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

fix numericality validation to skip db checking #182

Merged
merged 2 commits into from
Aug 5, 2024

Conversation

ttstarck
Copy link
Contributor

@ttstarck ttstarck commented Aug 5, 2024

This was causing issues on shoulda-matchers version 4, where because this method was defined, it thought we were an ActiveRecord model and had access to columns method. This change now fixes the problem on Rails 7.1 but also fixes the issue we're seeing on shoulda 4

@ttstarck ttstarck requested a review from dcaddell August 5, 2024 17:10
@ttstarck ttstarck marked this pull request as ready for review August 5, 2024 17:11
Copy link
Contributor

@dcaddell dcaddell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm 👍

@ttstarck ttstarck merged commit dc435d3 into master Aug 5, 2024
18 of 20 checks passed
@ttstarck ttstarck deleted the NON_PRODUCTION_fix_usage_of_validates_numericality branch August 5, 2024 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants