-
Notifications
You must be signed in to change notification settings - Fork 47
Space - Antonia #40
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
base: master
Are you sure you want to change the base?
Space - Antonia #40
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. |
| redirect_to task_path(@task.id) | ||
| return | ||
| else | ||
| render :new, :bad_request |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this works, but I like to do this being more explicit about the status code.
| 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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest adding navigation links like making a new task and linking to the all tasks page.
| <%= 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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I realize this came after tasklist, just a reminder in future projects you can dry up the forms with a partial view.
Task List
Congratulations! You're submitting your assignment!
Comprehension Questions