Displaying 1 result from an estimated 1 matches for "show_training_sess".
2006 Mar 17
2
Controller/View Organization (Newbie Question)
...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 also see this class getting way too big and
unwieldy with all of these methods.
The biggest possibility of all is that I am missing some glorious way
Rails has for handling this s...