<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Hierarchical Resources in Rails</title>
	<atom:link href="http://barelyenough.org/blog/2007/07/hierarchical-resources-in-rails/feed/" rel="self" type="application/rss+xml" />
	<link>http://barelyenough.org/blog/2007/07/hierarchical-resources-in-rails/</link>
	<description></description>
	<lastBuildDate>Fri, 19 Mar 2010 19:05:51 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Peter Williams</title>
		<link>http://barelyenough.org/blog/2007/07/hierarchical-resources-in-rails/comment-page-1/#comment-30912</link>
		<dc:creator>Peter Williams</dc:creator>
		<pubDate>Tue, 25 Sep 2007 14:54:32 +0000</pubDate>
		<guid isPermaLink="false">http://pezra.barelyenough.org/blog/2007/07/hierarchical-resources-in-rails/#comment-30912</guid>
		<description>&lt;p&gt;Arik, it is possible but Rails really encourages a more flat URI space.  I think this it probably a better approach in general, though some hierarchicalness can be useful in certain situations.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Arik, it is possible but Rails really encourages a more flat URI space.  I think this it probably a better approach in general, though some hierarchicalness can be useful in certain situations.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arik</title>
		<link>http://barelyenough.org/blog/2007/07/hierarchical-resources-in-rails/comment-page-1/#comment-30850</link>
		<dc:creator>Arik</dc:creator>
		<pubDate>Tue, 25 Sep 2007 02:07:32 +0000</pubDate>
		<guid isPermaLink="false">http://pezra.barelyenough.org/blog/2007/07/hierarchical-resources-in-rails/#comment-30850</guid>
		<description>&lt;p&gt;What about something like this in rails. You have a &quot;Page&quot; model. Every page can belong to another page creating a parent child relationship. For example:&lt;/p&gt;

&lt;p&gt;http://example.com/parent-page/child-page/child-child-page&lt;/p&gt;

&lt;p&gt;So on so forth... Is this possible in a rails app? if so whats the best approach?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>What about something like this in rails. You have a &#8220;Page&#8221; model. Every page can belong to another page creating a parent child relationship. For example:</p>
<p><a href="http://example.com/parent-page/child-page/child-child-page" rel="nofollow">http://example.com/parent-page/child-page/child-child-page</a></p>
<p>So on so forth&#8230; Is this possible in a rails app? if so whats the best approach?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Nunemaker</title>
		<link>http://barelyenough.org/blog/2007/07/hierarchical-resources-in-rails/comment-page-1/#comment-24364</link>
		<dc:creator>John Nunemaker</dc:creator>
		<pubDate>Thu, 26 Jul 2007 20:05:17 +0000</pubDate>
		<guid isPermaLink="false">http://pezra.barelyenough.org/blog/2007/07/hierarchical-resources-in-rails/#comment-24364</guid>
		<description>&lt;p&gt;I use something along the lines of this: http://revolutiononrails.blogspot.com/2007/05/drying-up-polymorphic-controllers.html&lt;/p&gt;

&lt;p&gt;Allows for:
http://example.com/user/{user_id}/addresses
http://example.com/user/{user_id}/addresses/{address_id}
etc, etc, etc.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I use something along the lines of this: <a href="http://revolutiononrails.blogspot.com/2007/05/drying-up-polymorphic-controllers.html" rel="nofollow">http://revolutiononrails.blogspot.com/2007/05/drying-up-polymorphic-controllers.html</a></p>
<p>Allows for:<br />
<a href="http://example.com/user/" rel="nofollow">http://example.com/user/</a>{user_id}/addresses<br />
<a href="http://example.com/user/" rel="nofollow">http://example.com/user/</a>{user_id}/addresses/{address_id}<br />
etc, etc, etc.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan Tilkov's Random Stuff</title>
		<link>http://barelyenough.org/blog/2007/07/hierarchical-resources-in-rails/comment-page-1/#comment-23658</link>
		<dc:creator>Stefan Tilkov's Random Stuff</dc:creator>
		<pubDate>Wed, 18 Jul 2007 13:15:34 +0000</pubDate>
		<guid isPermaLink="false">http://pezra.barelyenough.org/blog/2007/07/hierarchical-resources-in-rails/#comment-23658</guid>
		<description>&lt;p&gt;&lt;strong&gt;Hierarchical Resources in Rails...&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;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?......&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p><strong>Hierarchical Resources in Rails&#8230;</strong></p>
<p>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?&#8230;&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
