Peter Williams
Posts: 165
Nickname: pezra
Registered: Apr, 2005
|
Just is a random programmer.
|
|
|
|
Hierarchical Resources in Rails
|
Posted: Jul 16, 2007 8:47 AM
|
|
|
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.
|
Latest Web Buzz Posts
Latest Web Buzz Posts by Peter Williams
Latest Posts From Peter Williams
|
|
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 [...]
Read: Hierarchical Resources in Rails
|
|