Skip to content

Conversation

@lindseyreno
Copy link
Collaborator

I had to change the rental model function checkIn to also use the customer_id so it didn't add the return date to all rentals with that movie_title. This does not handle the edge case of a single customer checking out more than one copy of a movie but the requirements say to use the customer id and the movie title rather than the rental id to check in a movie. I updated the model and controller tests to reflect this change.

Copy link
Owner

Choose a reason for hiding this comment

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

Wait -- so does the '/2' refer to the customer ID or the rental ID?

@catchingash
Copy link
Owner

If rental id should not be used, should this instead be on the customer controller?

catchingash added a commit that referenced this pull request Sep 25, 2015
@catchingash catchingash merged commit 3c66c2a into anw+lr/master Sep 25, 2015
@catchingash catchingash deleted the update_rental/lr branch September 25, 2015 15:56
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