Displaying 1 result from an estimated 1 matches for "talker_type".
Did you mean:
talker_types
2007 Aug 03
1
Nested Resources vs. Normal Resources
...mal resource. If you have a belongs_to, has_one/many
relationship between models is that automatically an indication of a
nested resource or can these resources still be represented in the
normal resource way?
I have a resource (talker) that belongs_to a number of other models
(network, data_date, talker_type etc) in a many to one relationship
and I''d like to be able to have something like:
/networks/1/talkers/10
/data_dates/1/talkers/10
/talker_types/1/talkers/10
but also
/talkers/10
Is it possible to do this? or do I need to rename each of the nested
parts of the url to something like net...