jayrogers889csa/my_keyboards — pull request #19 by tararoys (2014-03-13 12:08:05+00:00)
Title: Tlr/custom routes

Review of Tara's custom routes

Concept:
- A resource route is like a seven-lane highway.
- commenting out the resource route is like closing the highway
- a custom rails route is like a creating a detour. The highway goes many places: the detour just goes one place.

strategy for this problem:
1. generate a scaffold for a key resource
2. run rake routes to see what routes I need
3.remove the resource
4. start visiting pages that should be there and reading the errors to solve them.
5. Timebox this to an hour.

Status: Got the concept. Having syntax trouble with the delete route and the patch route. Googled it, started rearranging my routes, got disorganized, and now don't know which routes are working and which are not. Now stopping and asking for help.

Syntax:
- Known issues: delete and patch are not working

Time spent: 1 hour