Displaying 1 result from an estimated 1 matches for "dogscontroller".
Did you mean:
docscontroller
2006 Mar 17
2
Controller/View Organization (Newbie Question)
...helpers
would then maintain the dog ID at the beginning of the URL unless I
specifically overrode it. (Though I haven''t actually TRIED this yet,
so I could be wrong)
4. Use only ONE controller (for Dog) and implement all auxiliary data
operations (CRUD) as sets of views/methods on DogsController. Then,
to get around the problem of having to have two IDs at once -- one
for the dog and one into the auxiliary table -- maybe set up routing
to allow /dogs/3/show_training_session/4 or /dogs/
show_training_session/3/4 or something along those lines. This seems
"clean" but I can...