This post originated from an RSS feed registered with Web Buzz
by Peter Williams.
Original Post: Hierarchical Resources in Rails
Feed Title: Peter Williams
Feed URL: http://barelyenough.org/blog/tag/web-applications/feed/
Feed Description: Thoughts about web applications.
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? For example, say you have an address
resource type. An address is always associated with exactly one user,
but a user may have several addresses (work, home, etc).
The simple [...]