-
Notifications
You must be signed in to change notification settings - Fork 101
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
Judge's feedback #1
Comments
Overall, this is pretty solid looking code. Here are a handful of thoughts: Models
Controllers
|
A few more thoughts General
ErrorsController
Emergency
Responder
|
Thanks for the feedback! I have just finished implementing all of the suggestions and added comment headers to the models. One question: Regarding the full_responses scope in emergency.rb, I moved the call to where(full_response: true) into the emergencies controller. I was under the impression that database queries should be consolidated into the model as much as possible, which was why I made the scope. For simple cases like this one that are not repeated elsewhere, is it kosher to call database queries from the controller? Also, if someone could point me to a style guide for method comments I'd be much obliged. |
Verified score of |
Your individual score breakdown: 254 points total:
|
Placeholder issue for judge's feedback.
The text was updated successfully, but these errors were encountered: