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
In schema.rb, tasks.due_date and tasks.priority are both strings, but I think that due_date should be datetime and priority should be integer.
tasks.due_date
tasks.priority
due_date
datetime
priority
integer
Models should have some validations:
UI should be updated accordingly to the changes
The text was updated successfully, but these errors were encountered:
Created this PR solving this issue.
Sorry, something went wrong.
Merge pull request #13 from nofaralfasi/task_refactoring
6d96962
Fixed issue #12
No branches or pull requests
In schema.rb,
tasks.due_date
andtasks.priority
are both strings, but I think thatdue_date
should bedatetime
andpriority
should beinteger
.Models should have some validations:
due_date
should be validated that it can be only in the futurepriority
should be limited to some selection, lets say from 1 to 3UI should be updated accordingly to the changes
The text was updated successfully, but these errors were encountered: