We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I noticed that the "Create Book" form allows you enter invalid values for "Year published":
Year published
Can we add a validation to make sure that doesn't happen?
I think we should make sure we update our tests (in /spec/features/books_spec.rb), then just add a model validation in /app/models/book.rb.
/spec/features/books_spec.rb
/app/models/book.rb
The text was updated successfully, but these errors were encountered:
DEMO-60
Sorry, something went wrong.
No branches or pull requests
I noticed that the "Create Book" form allows you enter invalid values for "
Year published
":Can we add a validation to make sure that doesn't happen?
I think we should make sure we update our tests (in
/spec/features/books_spec.rb
), then just add a model validation in/app/models/book.rb
.The text was updated successfully, but these errors were encountered: