makersquare/ruby-course — pull request #374 by kizzle102 (2014-09-08 13:47:46+00:00)
Title: Kelsey Isaacson- Puppy breeder 3

Would appreciate any more feedback on best practices. I added a status for each puppy to be for sale or sold so that the same puppies cannot be matched with different purchase orders. Also added a method called update holds to the request repo to see if any puppies have been added to the database that match with any on hold requests, and if so it updates the request status to pending. This method is called in the pending requests method prior to pulling the pending requests out of the database. Thanks! :dog: :dog2: