Skip to content
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

Branches- Dora & Mac (MacDora) #15

Open
wants to merge 62 commits into
base: master
Choose a base branch
from
Open

Conversation

mdove92
Copy link

@mdove92 mdove92 commented Oct 11, 2019

Rideshare-Rails

Congratulations! You're submitting your assignment! These comprehension questions should be answered by both partners together, not by a single teammate.

Comprehension Questions

Question Answer
Describe the types of entity relationships you set up in your project and why you set up the relationships that way Passengers and Drivers both have zero or many trips, but each trip has only one passenger and driver. Setting it up this way helps prevent redundancy. The data will not overlap in unintended ways.
Describe the role of model validations in your application Model validations do not allow for bad data. Adding in the validations prevents a user from creating instances with missing attributes.
How did your team break up the work to be done? We used a Trello board and did frequent checkins and an end of day standup.
What features did you choose to prioritize in your project, and what features, if any, did you have to set aside to meet the deadline? CRUD was our first priority for both Passenger and Driver. Custom model methods for driver was another priority, and the new trip request for Passenger. Some testing fell through the cracks at the end.
What was one thing that your team collectively gained more clarity on after completing this assignment? The benefits of using a Trello board! Also, needing to break big tests into their smaller components.
What is your Trello board URL? https://trello.com/b/uPDI58T5/rails-rideshare
What is the Heroku URL of your deployed application? https://macdora-catbus-rideshare.herokuapp.com/
What are two discussion points that you and your pair discussed when giving/receiving feedback from each other that you would be willing to share? We communicated well and often. We were honest with each other when we weren't able to complete work that we had hoped to. Our team morale was always high. So cohesive. We fist-bumped frequently.

[email protected] and others added 30 commits October 7, 2019 16:29
…successful creation of new driver and passenger.
…ing all Passenger tests except for the one about having trips
[email protected] and others added 28 commits October 9, 2019 14:28
…ed create trip action to get first inactive driver.
@jmaddox19
Copy link

Rideshare Rails

What We're Looking For

I love the theme and homepage! So fun and clever :)

One callout: Trips model is missing tests.

Great job y'all!

Copy link

@jmaddox19 jmaddox19 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job!

Comment on lines +41 to +45
@driver.name = params[:driver][:name]
@driver.vin = params[:driver][:vin]
@driver.car_make = params[:driver][:car_make]
@driver.car_model = params[:driver][:car_model]
@driver.active = params[:driver][:active]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor: could have used driver_params here

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.

3 participants