<?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: 10 things I&#8217;ve learned developing in rails</title>
	<atom:link href="http://www.notgeeklycorrect.com/english/2009/07/14/10-things-ive-learned-developing-in-rails/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.notgeeklycorrect.com/english/2009/07/14/10-things-ive-learned-developing-in-rails/</link>
	<description>Blog of a freelance web developer</description>
	<lastBuildDate>Wed, 10 Mar 2010 16:42:57 +0100</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: links for 2009-07-17 &#124; :neil_middleton</title>
		<link>http://www.notgeeklycorrect.com/english/2009/07/14/10-things-ive-learned-developing-in-rails/comment-page-1/#comment-249</link>
		<dc:creator>links for 2009-07-17 &#124; :neil_middleton</dc:creator>
		<pubDate>Fri, 17 Jul 2009 11:07:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.notgeeklycorrect.com/?p=454#comment-249</guid>
		<description>[...] 10 things I’ve learned developing in rails 10 very good lessons to be learned from a few years of Rails development. In hindsight they mostly seem quite obvious [...]</description>
		<content:encoded><![CDATA[<p>[...] 10 things I’ve learned developing in rails 10 very good lessons to be learned from a few years of Rails development. In hindsight they mostly seem quite obvious [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Abney</title>
		<link>http://www.notgeeklycorrect.com/english/2009/07/14/10-things-ive-learned-developing-in-rails/comment-page-1/#comment-248</link>
		<dc:creator>Mike Abney</dc:creator>
		<pubDate>Fri, 17 Jul 2009 04:29:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.notgeeklycorrect.com/?p=454#comment-248</guid>
		<description>Instead of tail -f, I generally use &#039;less log/development&#039; then it&#039;s a quick press of &#039;F&#039; and less acts just like tail. The key difference is that if I see something important, I can press Ctrl+C and just page back and forth, search (&#039;/&#039; + the term, &#039;n&#039; to find the next occurance, etc.). It&#039;s at great tool.

~Mike</description>
		<content:encoded><![CDATA[<p>Instead of tail -f, I generally use &#8216;less log/development&#8217; then it&#8217;s a quick press of &#8216;F&#8217; and less acts just like tail. The key difference is that if I see something important, I can press Ctrl+C and just page back and forth, search (&#8217;/&#8217; + the term, &#8216;n&#8217; to find the next occurance, etc.). It&#8217;s at great tool.</p>
<p>~Mike</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nicolas</title>
		<link>http://www.notgeeklycorrect.com/english/2009/07/14/10-things-ive-learned-developing-in-rails/comment-page-1/#comment-247</link>
		<dc:creator>Nicolas</dc:creator>
		<pubDate>Thu, 16 Jul 2009 09:51:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.notgeeklycorrect.com/?p=454#comment-247</guid>
		<description>Yes, I agree RJS idea is really nice, but when you want to write unobtrusive JS code, it&#039;s not the good solution.
What I don&#039;t like with the current (Rails 2.X) RJS state, is the code they add on the view ;).</description>
		<content:encoded><![CDATA[<p>Yes, I agree RJS idea is really nice, but when you want to write unobtrusive <acronym title="JavaScript">JS</acronym> code, it&#8217;s not the good solution.<br />
What I don&#8217;t like with the current (Rails 2.X) RJS state, is the code they add on the view <img src='http://www.notgeeklycorrect.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ingemar</title>
		<link>http://www.notgeeklycorrect.com/english/2009/07/14/10-things-ive-learned-developing-in-rails/comment-page-1/#comment-246</link>
		<dc:creator>Ingemar</dc:creator>
		<pubDate>Thu, 16 Jul 2009 09:47:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.notgeeklycorrect.com/?p=454#comment-246</guid>
		<description>Some good tips, except I believe RJS are really cool! 99% people who complain about RJS templates just don&#039;t understand how to write them properly. Also, HTML rendering in Helpers have their use. Most of the time you can do it really slick if you use content_tag and returning. Too much logic in the views makes them messy.</description>
		<content:encoded><![CDATA[<p>Some good tips, except I believe RJS are really cool! 99% people who complain about RJS templates just don&#8217;t understand how to write them properly. Also, <acronym title="HyperText Markup Language">HTML</acronym> rendering in Helpers have their use. Most of the time you can do it really slick if you use content_tag and returning. Too much logic in the views makes them messy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nicolas</title>
		<link>http://www.notgeeklycorrect.com/english/2009/07/14/10-things-ive-learned-developing-in-rails/comment-page-1/#comment-245</link>
		<dc:creator>Nicolas</dc:creator>
		<pubDate>Thu, 16 Jul 2009 06:49:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.notgeeklycorrect.com/?p=454#comment-245</guid>
		<description>I certainly not avoid rails built in helpers! This is one part why Rails is so great!.
By do not rendering html in helpers I mean, instead of doing

def user_greetings(_user)
 html = &quot;&lt;div class=&#039;user_g&#039;&gt;&quot;
 html += ...
 html += ...
 html += &quot;&lt;/div&gt;
end

Or doing it content_tag ..., I prefer using

def user_greetings(_user)
 render :partial =&gt; &quot;shared/greetings&quot;, locals =&gt; {...}
end

The code is nicer, and If I need to reuse this piece of view, I can without repeating it.

Is it what you were looking for?</description>
		<content:encoded><![CDATA[<p>I certainly not avoid rails built in helpers! This is one part why Rails is so great!.<br />
By do not rendering html in helpers I mean, instead of doing</p>
<p>def user_greetings(_user)<br />
 html = &#8220;
<div class='user_g'>&#8221;<br />
 html += &#8230;<br />
 html += &#8230;<br />
 html += &#8220;</div>
<p>end</p>
<p>Or doing it content_tag &#8230;, I prefer using</p>
<p>def user_greetings(_user)<br />
 render :partial => &#8220;shared/greetings&#8221;, locals => {&#8230;}<br />
end</p>
<p>The code is nicer, and If I need to reuse this piece of view, I can without repeating it.</p>
<p>Is it what you were looking for?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: planetmcd</title>
		<link>http://www.notgeeklycorrect.com/english/2009/07/14/10-things-ive-learned-developing-in-rails/comment-page-1/#comment-244</link>
		<dc:creator>planetmcd</dc:creator>
		<pubDate>Thu, 16 Jul 2009 03:38:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.notgeeklycorrect.com/?p=454#comment-244</guid>
		<description>Would you care to elaborate on never rendering html in a helper?  I use this trick and find it handy.  All the other points make sense to me so I want to see if there is something I&#039;m missing.  

Do you also avoid rails built in helpers?</description>
		<content:encoded><![CDATA[<p>Would you care to elaborate on never rendering html in a helper?  I use this trick and find it handy.  All the other points make sense to me so I want to see if there is something I&#8217;m missing.  </p>
<p>Do you also avoid rails built in helpers?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nicolas</title>
		<link>http://www.notgeeklycorrect.com/english/2009/07/14/10-things-ive-learned-developing-in-rails/comment-page-1/#comment-242</link>
		<dc:creator>Nicolas</dc:creator>
		<pubDate>Tue, 14 Jul 2009 15:10:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.notgeeklycorrect.com/?p=454#comment-242</guid>
		<description>Hum, ruby-debug sounds nice, I&#039;ll give it a try.</description>
		<content:encoded><![CDATA[<p>Hum, ruby-debug sounds nice, I&#8217;ll give it a try.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shannon</title>
		<link>http://www.notgeeklycorrect.com/english/2009/07/14/10-things-ive-learned-developing-in-rails/comment-page-1/#comment-241</link>
		<dc:creator>Shannon</dc:creator>
		<pubDate>Tue, 14 Jul 2009 15:05:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.notgeeklycorrect.com/?p=454#comment-241</guid>
		<description>Nice post.  I will try the query_reviewer and HAML.  I would also suggest trying out the debugger gem ruby-debug.  I couldn&#039;t live without it :)</description>
		<content:encoded><![CDATA[<p>Nice post.  I will try the query_reviewer and HAML.  I would also suggest trying out the debugger gem ruby-debug.  I couldn&#8217;t live without it <img src='http://www.notgeeklycorrect.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
