Skip to content

Conversation

@ltrickey
Copy link

@ltrickey ltrickey commented Apr 3, 2017

Rails Zoo

Congratulations! You're submitting your assignment!

Comprehension Questions

Question Answer
Describe in your own words the Rails request/response cycle for viewing an animals detail page To view animal details, the Browser sends the response by the URL that has an http verb attached to it. That then corresponds to a route that we've set up. For viewing an animal details that HTTP verb is Get url is animals/:id which then points to the controller method animals#show. The Controller then calls up that information from the Database using the method Animal.find and then using the params[:id] to access that animal's info. That info is then sent over to the show view, which dictates how that info will be displayed. It's then routed back through controller to the browser as a webpage.
Describe one area of Rails that you gained more clarity on with this assignment I gained more clarity on the whole process of setting up the rails app from start to finish.
Is there a specific piece of code you'd like more feedback on? Not that I can think of. Anything you see that I can improve would be appreciated!
What is one aspect of this project that surprised you? I was excited on how much I remembered from class!

@kariabancroft
Copy link

Rails Zoo

What We're Looking For

Feature Feedback
Appropriate Git usage with no extraneous files checked in Yes
Answered comprehension questions Yes
Naming conventions: controller is plural, model is singular Yes
Overall Looks good!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants