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

Use default Rails blank validation error message #523

Merged

Conversation

james
Copy link
Contributor

@james james commented Nov 5, 2019

Replace the hardcoded error message for a blank audit comment with Rails' default. This meet's Rails' convention, and allows i18n support.

james added a commit to dxw/affordable-housing-monitoring that referenced this pull request Nov 5, 2019
We had two bugs with the audited gem, and I've opened PRs for both of them:

collectiveidea/audited#522
collectiveidea/audited#523

In the meantime, while we're waiting for them to hopefully be approved and merged, I have created my own fork with a branch that has both of those changes in.

This means that we no longer need the monkey pathes in the dwelling and development models. Also update the specs to reflect the new, fixed error messages.
Replace the hardcoded error message for a blank audit comment with Rails' default. This meet's Rails' convention, and allows i18n support.
@james james force-pushed the fix/use-default-rails-blank-error branch from 510eaf6 to 77cbb99 Compare December 23, 2020 15:57
@danielmorrison danielmorrison merged commit f633207 into collectiveidea:master May 31, 2021
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.

2 participants