search for: training_sessions

Displaying 1 result from an estimated 1 matches for "training_sessions".

2006 Mar 17
2
Controller/View Organization (Newbie Question)
...his: 1. Make a controller for each of the auxiliary objects (TrainingSessionsController, TestsController, etc), each with a view to show information only relating to the current Dog in question. So for example, the overview URL "/dogs/show/1" might link to a detail page at "/training_sessions/list?dog_id=1" .. This seems ugly to me, as I will need to keep passing around parameters in the URL wherever I go to make sure we''re still working on the right dog. For example, I''ll need to remember to pass ?dog_id=... to "/training_sessions/new" so that d...