Open
Conversation
Task ListMajor Learning Goals/Code Review
Functional Requirements/Manual Testing
Overall Feedback
Code Style Bonus AwardsWas the code particularly impressive in code style for any of these reasons (or more...?)
SummaryNicely done, you hit the main learning goals here. Take a look at my few comments and let me know what questions you have. |
CheezItMan
reviewed
May 7, 2020
| redirect_to task_path(@task.id) | ||
| return | ||
| else | ||
| render :new, :bad_request |
There was a problem hiding this comment.
I think this works, but I like to do this being more explicit about the status code.
Suggested change
| render :new, :bad_request | |
| render :new, status: :bad_request |
| <%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload' %> | ||
| </head> | ||
|
|
||
| <body> |
There was a problem hiding this comment.
I suggest adding navigation links like making a new task and linking to the all tasks page.
Comment on lines
+4
to
+8
| <%= f.label :name %> | ||
| <%= f.text_field :name%> | ||
| <%= f.label :description %> | ||
| <%= f.text_area :description %> | ||
| <%= f.submit "Save task", class: "button" %> |
There was a problem hiding this comment.
I realize this came after tasklist, just a reminder in future projects you can dry up the forms with a partial view.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Task List
Congratulations! You're submitting your assignment!
Comprehension Questions