Hierarchical Resources in Rails
Consider a situation where you have a type of resource which always belongs to a resource of another type. How do you model the URI space using Rails?
This is a single archived entry from Stefan Tilkov’s blog. For more up-to-date content, check out my author page at INNOQ, which has more information about me and also contains a list of published talks, podcasts, and articles. Or you can check out the full archive.
Consider a situation where you have a type of resource which always belongs to a resource of another type. How do you model the URI space using Rails?