<?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: Pretty-ifying URLs</title>
	<atom:link href="http://ryanbigg.com/2009/04/pretty-ifying-urls/feed/" rel="self" type="application/rss+xml" />
	<link>http://ryanbigg.com/2009/04/pretty-ifying-urls/</link>
	<description>Life &#38; Everything Else</description>
	<lastBuildDate>Tue, 27 Jul 2010 11:30:35 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Radar</title>
		<link>http://ryanbigg.com/2009/04/pretty-ifying-urls/comment-page-1/#comment-23526</link>
		<dc:creator>Radar</dc:creator>
		<pubDate>Tue, 27 Oct 2009 06:31:08 +0000</pubDate>
		<guid isPermaLink="false">http://frozenplague.net/?p=510#comment-23526</guid>
		<description>&lt;p&gt;psychess, not if you have the ID prefix. I never thought about this but you do raise a valid point, I&#039;ll fix this up in the post later on tonight.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>psychess, not if you have the ID prefix. I never thought about this but you do raise a valid point, I&#8217;ll fix this up in the post later on tonight.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: psychess</title>
		<link>http://ryanbigg.com/2009/04/pretty-ifying-urls/comment-page-1/#comment-23465</link>
		<dc:creator>psychess</dc:creator>
		<pubDate>Mon, 26 Oct 2009 04:35:13 +0000</pubDate>
		<guid isPermaLink="false">http://frozenplague.net/?p=510#comment-23465</guid>
		<description>&lt;p&gt;And what happens if you have an edit form for this model?  Then it would seem you&#039;re stuck because form&lt;em&gt;for calls to&lt;/em&gt;param right away (e.g., form_for @person) and right there everything is going to break. Right?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>And what happens if you have an edit form for this model?  Then it would seem you&#8217;re stuck because form<em>for calls to</em>param right away (e.g., form_for @person) and right there everything is going to break. Right?</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Radar</title>
		<link>http://ryanbigg.com/2009/04/pretty-ifying-urls/comment-page-1/#comment-10895</link>
		<dc:creator>Radar</dc:creator>
		<pubDate>Thu, 23 Apr 2009 23:27:15 +0000</pubDate>
		<guid isPermaLink="false">http://frozenplague.net/?p=510#comment-10895</guid>
		<description>&lt;p&gt;Neil,&lt;/p&gt;

&lt;p&gt;Thanks for the link, I should&#039;ve probably written about it in the post, but I didn&#039;t think about it at the time. I like how he covers it.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Neil,</p>

<p>Thanks for the link, I should&#8217;ve probably written about it in the post, but I didn&#8217;t think about it at the time. I like how he covers it.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Josh Nichols</title>
		<link>http://ryanbigg.com/2009/04/pretty-ifying-urls/comment-page-1/#comment-10651</link>
		<dc:creator>Josh Nichols</dc:creator>
		<pubDate>Sun, 19 Apr 2009 17:46:00 +0000</pubDate>
		<guid isPermaLink="false">http://frozenplague.net/?p=510#comment-10651</guid>
		<description>&lt;p&gt;I&#039;ve been a big fan of friendly&lt;em&gt;id for permalinks: http://github.com/norman/friendly&lt;/em&gt;id/tree/master&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been a big fan of friendly<em>id for permalinks: <a href="http://github.com/norman/friendly" rel="nofollow">http://github.com/norman/friendly</a></em>id/tree/master</p>]]></content:encoded>
	</item>
	<item>
		<title>By: NeilCauldwell</title>
		<link>http://ryanbigg.com/2009/04/pretty-ifying-urls/comment-page-1/#comment-10598</link>
		<dc:creator>NeilCauldwell</dc:creator>
		<pubDate>Sat, 18 Apr 2009 17:33:47 +0000</pubDate>
		<guid isPermaLink="false">http://frozenplague.net/?p=510#comment-10598</guid>
		<description>&lt;p&gt;My favorite usage of to_param is the username at root scenario, i.e. http://twitter.com/radarlistener . This guy gave a great explanation of how to work round any routes.rb conflicts with doing so http://henrik.nyh.se/2008/10/validating-slugs-against-existing-routes-in-rails&lt;/p&gt;

&lt;p&gt;...I&#039;m sure I&#039;ve commented here with the above link once before, but it&#039;s so useful it&#039;s worth sharing whenever to_param is mentioned; the topic often leads to the &#039;root usernames&#039; scenario. If your Rails app has a core &#039;social object&#039; (cats, recipes, discussion threads, etc), putting pretty urls for the model at the root is worth thinking about.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>My favorite usage of to_param is the username at root scenario, i.e. <a href="http://twitter.com/radarlistener" rel="nofollow">http://twitter.com/radarlistener</a> . This guy gave a great explanation of how to work round any routes.rb conflicts with doing so <a href="http://henrik.nyh.se/2008/10/validating-slugs-against-existing-routes-in-rails" rel="nofollow">http://henrik.nyh.se/2008/10/validating-slugs-against-existing-routes-in-rails</a></p>

<p>&#8230;I&#8217;m sure I&#8217;ve commented here with the above link once before, but it&#8217;s so useful it&#8217;s worth sharing whenever to_param is mentioned; the topic often leads to the &#8216;root usernames&#8217; scenario. If your Rails app has a core &#8216;social object&#8217; (cats, recipes, discussion threads, etc), putting pretty urls for the model at the root is worth thinking about.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: pjammer</title>
		<link>http://ryanbigg.com/2009/04/pretty-ifying-urls/comment-page-1/#comment-10587</link>
		<dc:creator>pjammer</dc:creator>
		<pubDate>Sat, 18 Apr 2009 13:01:19 +0000</pubDate>
		<guid isPermaLink="false">http://frozenplague.net/?p=510#comment-10587</guid>
		<description>&lt;p&gt;Man parameterize is sure easier then what i was doing: &quot;#{id}-#{title.downcase.gsub(/[^[:alnum:]]/,&#039;-&#039;)}&quot;.gsub(/-{2,}/,&#039;-&#039;)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Man parameterize is sure easier then what i was doing: &#8220;#{id}-#{title.downcase.gsub(/[^[:alnum:]]/,&#8217;-')}&#8221;.gsub(/-{2,}/,&#8217;-')</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Bodaniel Jeanes</title>
		<link>http://ryanbigg.com/2009/04/pretty-ifying-urls/comment-page-1/#comment-10584</link>
		<dc:creator>Bodaniel Jeanes</dc:creator>
		<pubDate>Sat, 18 Apr 2009 11:37:54 +0000</pubDate>
		<guid isPermaLink="false">http://frozenplague.net/?p=510#comment-10584</guid>
		<description>&lt;p&gt;Hrmm good article except you should only set the permalink on create, if you don&#039;t have the ID in the URL. If you change the permalink when the title changes then it&#039;s no longer permanent! Then it actually has a NEGATIVE effect on SEO and general linking to from other sites...&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hrmm good article except you should only set the permalink on create, if you don&#8217;t have the ID in the URL. If you change the permalink when the title changes then it&#8217;s no longer permanent! Then it actually has a NEGATIVE effect on SEO and general linking to from other sites&#8230;</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Yaroslav</title>
		<link>http://ryanbigg.com/2009/04/pretty-ifying-urls/comment-page-1/#comment-10583</link>
		<dc:creator>Yaroslav</dc:creator>
		<pubDate>Sat, 18 Apr 2009 11:28:49 +0000</pubDate>
		<guid isPermaLink="false">http://frozenplague.net/?p=510#comment-10583</guid>
		<description>&lt;p&gt;You gotta use find&lt;em&gt;by&lt;/em&gt;permalink! (with the bang) to let it behave exactly as find, ie throw an exception if not found.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>You gotta use find<em>by</em>permalink! (with the bang) to let it behave exactly as find, ie throw an exception if not found.</p>]]></content:encoded>
	</item>
</channel>
</rss>
