Nested resources

Created TicketsController which allows the user to create record for your ticket model that will end up in the ticket tables. The difference between the ticket controller and the ProjectsController is that the tickets are only accessible within the scope of an existing project because you used nested routing.

Tickets was scoped using association methods, has_many, to the project model. The has_many provides the build method which is used to create new tickets within the project.