<?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: Rails link_to Weirdness Inside Namespaces</title>
	<atom:link href="http://blog.crunchbase.com/2008/08/21/rails-link_to-weirdness-inside-namespaces/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.crunchbase.com/2008/08/21/rails-link_to-weirdness-inside-namespaces/</link>
	<description>What's Moving in CrunchBase</description>
	<pubDate>Mon, 23 Nov 2009 11:03:41 +0000</pubDate>
	
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Davide Benini</title>
		<link>http://blog.crunchbase.com/2008/08/21/rails-link_to-weirdness-inside-namespaces/comment-page-1/#comment-448</link>
		<dc:creator>Davide Benini</dc:creator>
		<pubDate>Tue, 26 May 2009 07:54:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crunchbase.com/?p=159#comment-448</guid>
		<description>Kudos, you've spared me a lot of pain here.</description>
		<content:encoded><![CDATA[<p>Kudos, you&#8217;ve spared me a lot of pain here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jesse B</title>
		<link>http://blog.crunchbase.com/2008/08/21/rails-link_to-weirdness-inside-namespaces/comment-page-1/#comment-410</link>
		<dc:creator>Jesse B</dc:creator>
		<pubDate>Sun, 01 Feb 2009 04:44:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crunchbase.com/?p=159#comment-410</guid>
		<description>Awesome. You saved me from some confusion as well. Thanks!</description>
		<content:encoded><![CDATA[<p>Awesome. You saved me from some confusion as well. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ian</title>
		<link>http://blog.crunchbase.com/2008/08/21/rails-link_to-weirdness-inside-namespaces/comment-page-1/#comment-358</link>
		<dc:creator>Ian</dc:creator>
		<pubDate>Tue, 11 Nov 2008 13:51:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crunchbase.com/?p=159#comment-358</guid>
		<description>Thank you!  That caused me a half hour of head scratching -- a lot less than if you hadn't wrote this blog post!</description>
		<content:encoded><![CDATA[<p>Thank you!  That caused me a half hour of head scratching &#8212; a lot less than if you hadn&#8217;t wrote this blog post!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Srđan Prodanović</title>
		<link>http://blog.crunchbase.com/2008/08/21/rails-link_to-weirdness-inside-namespaces/comment-page-1/#comment-76</link>
		<dc:creator>Srđan Prodanović</dc:creator>
		<pubDate>Wed, 27 Aug 2008 03:14:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crunchbase.com/?p=159#comment-76</guid>
		<description>Oh, I nearly forgot about that one. It might be smart to add this to the doc's if it's really the intended behavior. If you think of it.. Once you define a name-space, you just have to put *everything* in it's name-space, so /action is basically a shorthand for root/action.
Sadly, this would introduce another search and replace step (similar to renaming all the path helpers after nesting a resource). I believe these appearances of name-spaces where they don't belong ought to be solved with a bit better pattern recognition (i.e.: If route belongs to no namespaces, give it to root). I tried to quickly wrap my head around it, but it seems somebody really had a blast with meta-programming Routing::Route#generate. Wild enough to keep me in the no-name-spaced-controllers camp for a few more releases. I didn't get here without turning a few hair gray while trying to keep all the controller logic in nifty sub-folders though, so I really hope I remember this trick next time I work on any older projects :-) Thanks</description>
		<content:encoded><![CDATA[<p>Oh, I nearly forgot about that one. It might be smart to add this to the doc&#8217;s if it&#8217;s really the intended behavior. If you think of it.. Once you define a name-space, you just have to put *everything* in it&#8217;s name-space, so /action is basically a shorthand for root/action.<br />
Sadly, this would introduce another search and replace step (similar to renaming all the path helpers after nesting a resource). I believe these appearances of name-spaces where they don&#8217;t belong ought to be solved with a bit better pattern recognition (i.e.: If route belongs to no namespaces, give it to root). I tried to quickly wrap my head around it, but it seems somebody really had a blast with meta-programming Routing::Route#generate. Wild enough to keep me in the no-name-spaced-controllers camp for a few more releases. I didn&#8217;t get here without turning a few hair gray while trying to keep all the controller logic in nifty sub-folders though, so I really hope I remember this trick next time I work on any older projects <img src='http://blog.crunchbase.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>
