<?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: Six tips for building better Web apps with Rails</title>
	<atom:link href="http://labnotes.org/2007/01/08/six-tips-for-building-better-web-apps-with-rails/feed/" rel="self" type="application/rss+xml" />
	<link>http://labnotes.org/2007/01/08/six-tips-for-building-better-web-apps-with-rails/</link>
	<description></description>
	<lastBuildDate>Thu, 18 Mar 2010 02:32:05 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jon Rowett&#8217;s Workblog &#187; Links for 31 January 2007</title>
		<link>http://labnotes.org/2007/01/08/six-tips-for-building-better-web-apps-with-rails/comment-page-1/#comment-137521</link>
		<dc:creator>Jon Rowett&#8217;s Workblog &#187; Links for 31 January 2007</dc:creator>
		<pubDate>Wed, 31 Jan 2007 13:27:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.labnotes.org/2007/01/08/six-tips-for-building-better-web-apps-with-rails/#comment-137521</guid>
		<description>[...] Six tips for building better Web apps with RailsSome good hints around APIs and friendly URLs.[Tags: rails ruby workblog ] [...]</description>
		<content:encoded><![CDATA[<p>[...] Six tips for building better Web apps with RailsSome good hints around APIs and friendly URLs.[Tags: rails ruby workblog ] [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob Sanheim</title>
		<link>http://labnotes.org/2007/01/08/six-tips-for-building-better-web-apps-with-rails/comment-page-1/#comment-126280</link>
		<dc:creator>Rob Sanheim</dc:creator>
		<pubDate>Tue, 09 Jan 2007 06:06:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.labnotes.org/2007/01/08/six-tips-for-building-better-web-apps-with-rails/#comment-126280</guid>
		<description>This will be a little bit better to_param:

&lt;code&gt;
   &quot;#{id}-#{name.gsub(/[^a-z1-9]+/i, &#039;-&#039;)}&quot;
&lt;/code&gt;

I can&#039;t take credit, its from here: http://www.notsostupid.com/blog/2006/07/07/urls-on-rails/</description>
		<content:encoded><![CDATA[<p>This will be a little bit better to_param:</p>
<p><code><br />
   "#{id}-#{name.gsub(/[^a-z1-9]+/i, '-')}"<br />
</code></p>
<p>I can&#8217;t take credit, its from here: <a href="http://www.notsostupid.com/blog/2006/07/07/urls-on-rails/" rel="nofollow">http://www.notsostupid.com/blog/2006/07/07/urls-on-rails/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Assaf</title>
		<link>http://labnotes.org/2007/01/08/six-tips-for-building-better-web-apps-with-rails/comment-page-1/#comment-126204</link>
		<dc:creator>Assaf</dc:creator>
		<pubDate>Mon, 08 Jan 2007 18:41:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.labnotes.org/2007/01/08/six-tips-for-building-better-web-apps-with-rails/#comment-126204</guid>
		<description>Scott,

Thanks for the tip. I didn&#039;t realize that, I&#039;m going to give it a try.

Eldon,

I came across Simply_Helpful recently when looking for something else, so I guess I&#039;m not the only one to feel the pain. If I understand correctly, Simply_Helpful adds helper methods. I wanted to do the ID generation in the model itself. I feel it belongs there.</description>
		<content:encoded><![CDATA[<p>Scott,</p>
<p>Thanks for the tip. I didn&#8217;t realize that, I&#8217;m going to give it a try.</p>
<p>Eldon,</p>
<p>I came across Simply_Helpful recently when looking for something else, so I guess I&#8217;m not the only one to feel the pain. If I understand correctly, Simply_Helpful adds helper methods. I wanted to do the ID generation in the model itself. I feel it belongs there.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Matthewman</title>
		<link>http://labnotes.org/2007/01/08/six-tips-for-building-better-web-apps-with-rails/comment-page-1/#comment-126201</link>
		<dc:creator>Scott Matthewman</dc:creator>
		<pubDate>Mon, 08 Jan 2007 18:10:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.labnotes.org/2007/01/08/six-tips-for-building-better-web-apps-with-rails/#comment-126201</guid>
		<description>Thanks for the link, Eldon!

Re: your URL slugs tip, you can override to_param (i.e., name your method to_param instead of url_slug), and Rails&#039; built-in routing commands will use the combined id-and-name whenever it builds a URL, so you don&#039;t need to manually specify it.</description>
		<content:encoded><![CDATA[<p>Thanks for the link, Eldon!</p>
<p>Re: your URL slugs tip, you can override to_param (i.e., name your method to_param instead of url_slug), and Rails&#8217; built-in routing commands will use the combined id-and-name whenever it builds a URL, so you don&#8217;t need to manually specify it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Balance On Rails : Seis dicas para construir melhores aplicaÃ§Ãµes Web com Rails</title>
		<link>http://labnotes.org/2007/01/08/six-tips-for-building-better-web-apps-with-rails/comment-page-1/#comment-126181</link>
		<dc:creator>Balance On Rails : Seis dicas para construir melhores aplicaÃ§Ãµes Web com Rails</dc:creator>
		<pubDate>Mon, 08 Jan 2007 16:14:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.labnotes.org/2007/01/08/six-tips-for-building-better-web-apps-with-rails/#comment-126181</guid>
		<description>[...] Fonte: Labnotes [...]</description>
		<content:encoded><![CDATA[<p>[...] Fonte: Labnotes [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eldon Alameda</title>
		<link>http://labnotes.org/2007/01/08/six-tips-for-building-better-web-apps-with-rails/comment-page-1/#comment-126171</link>
		<dc:creator>Eldon Alameda</dc:creator>
		<pubDate>Mon, 08 Jan 2007 15:37:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.labnotes.org/2007/01/08/six-tips-for-building-better-web-apps-with-rails/#comment-126171</guid>
		<description>Nice article - one minor comment on your typed_id method though.

The Simply_helpful plugin in Rails 1.2 features a built-in set of methods for this.  (dom_id and dom_class). I can&#039;t recall if they were going to be included into core or not, but I&#039;ve used them with some edge stuff and they&#039;ve been especially nice for RJS.

There was a good write up about it a while back at http://www.matthewman.net/articles/2006/09/04/new-rails-feature-simply_helpful</description>
		<content:encoded><![CDATA[<p>Nice article &#8211; one minor comment on your typed_id method though.</p>
<p>The Simply_helpful plugin in Rails 1.2 features a built-in set of methods for this.  (dom_id and dom_class). I can&#8217;t recall if they were going to be included into core or not, but I&#8217;ve used them with some edge stuff and they&#8217;ve been especially nice for RJS.</p>
<p>There was a good write up about it a while back at <a href="http://www.matthewman.net/articles/2006/09/04/new-rails-feature-simply_helpful" rel="nofollow">http://www.matthewman.net/articles/2006/09/04/new-rails-feature-simply_helpful</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
