<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments for stonean</title>
	<atom:link href="http://blog.stonean.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.stonean.com</link>
	<description></description>
	<lastBuildDate>Thu, 26 Nov 2009 22:54:35 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Views deserve thought by alampiogils</title>
		<link>http://blog.stonean.com/2009/11/10/views-deserve-thought/#comment-171</link>
		<dc:creator>alampiogils</dc:creator>
		<pubDate>Thu, 26 Nov 2009 22:54:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stonean.com/?p=314#comment-171</guid>
		<description>Cool post, did not thought reading this would be so great when I read your url!</description>
		<content:encoded><![CDATA[<p>Cool post, did not thought reading this would be so great when I read your url!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Views deserve thought by Colin Curtin</title>
		<link>http://blog.stonean.com/2009/11/10/views-deserve-thought/#comment-170</link>
		<dc:creator>Colin Curtin</dc:creator>
		<pubDate>Wed, 18 Nov 2009 19:41:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stonean.com/?p=314#comment-170</guid>
		<description>It reminds me of Meta-HTML: http://metahtml.sourceforge.net/

Docs: http://metahtml.sourceforge.net/documentation/manual/

Made by Brian Fox (creator of Bash), it was a precursor even to ColdFusion. Custom tags that controlled execution flow, defined variables, etc.

RuHL looks like a cool project. Good work.</description>
		<content:encoded><![CDATA[<p>It reminds me of Meta-HTML: <a href="http://metahtml.sourceforge.net/" rel="nofollow">http://metahtml.sourceforge.net/</a></p>
<p>Docs: <a href="http://metahtml.sourceforge.net/documentation/manual/" rel="nofollow">http://metahtml.sourceforge.net/documentation/manual/</a></p>
<p>Made by Brian Fox (creator of Bash), it was a precursor even to ColdFusion. Custom tags that controlled execution flow, defined variables, etc.</p>
<p>RuHL looks like a cool project. Good work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using ensure to reset a value by Bill Siggelkow</title>
		<link>http://blog.stonean.com/2009/04/25/using-ensure-to-reset-a-value/#comment-163</link>
		<dc:creator>Bill Siggelkow</dc:creator>
		<pubDate>Sat, 25 Apr 2009 20:33:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stonean.com/?p=296#comment-163</guid>
		<description>Oh I see!  The ensure block is run regardless -- resetting @updated_path to @path.dup; but the changed @updated_path is returned from the call ... very interesting albeit a bit confusing. It saves having to create tmp variables.</description>
		<content:encoded><![CDATA[<p>Oh I see!  The ensure block is run regardless &#8212; resetting @updated_path to @path.dup; but the changed @updated_path is returned from the call &#8230; very interesting albeit a bit confusing. It saves having to create tmp variables.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using ensure to reset a value by stonean</title>
		<link>http://blog.stonean.com/2009/04/25/using-ensure-to-reset-a-value/#comment-161</link>
		<dc:creator>stonean</dc:creator>
		<pubDate>Sat, 25 Apr 2009 17:57:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stonean.com/?p=296#comment-161</guid>
		<description>Actually, the call to updated_path will return the value of @updated_path.  The ensure statement will then reset @updated_path to the original value.

For instance:

new_path = add_key_value_to_path(&#039;miles&#039;,&#039;50&#039;)

As add_key_value_to_path does it&#039;s thing, it updates @updated_path.  The last line in add_key_value_to_path is the updated_path call.  This will correctly return the value that new_path should get and reset @updated_path.  Ready for the next iteration.

No exceptions are involved.  Ensure is being used for it&#039;s order of execution.</description>
		<content:encoded><![CDATA[<p>Actually, the call to updated_path will return the value of @updated_path.  The ensure statement will then reset @updated_path to the original value.</p>
<p>For instance:</p>
<p>new_path = add_key_value_to_path(&#8216;miles&#8217;,'50&#8242;)</p>
<p>As add_key_value_to_path does it&#8217;s thing, it updates @updated_path.  The last line in add_key_value_to_path is the updated_path call.  This will correctly return the value that new_path should get and reset @updated_path.  Ready for the next iteration.</p>
<p>No exceptions are involved.  Ensure is being used for it&#8217;s order of execution.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using ensure to reset a value by Bill Siggelkow</title>
		<link>http://blog.stonean.com/2009/04/25/using-ensure-to-reset-a-value/#comment-160</link>
		<dc:creator>Bill Siggelkow</dc:creator>
		<pubDate>Sat, 25 Apr 2009 17:50:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stonean.com/?p=296#comment-160</guid>
		<description>Hmmm ... will @updated_path return an error? I thought ensure would only be fired if an exception was raised.

If it&#039;s just that it could be nil then you could &#124;&#124;= ...

Oh I think I understand ... the first ref to @updated_path should be to the method call updated_path ... then the ensure block will be executed if an exception is raised ... nice!</description>
		<content:encoded><![CDATA[<p>Hmmm &#8230; will @updated_path return an error? I thought ensure would only be fired if an exception was raised.</p>
<p>If it&#8217;s just that it could be nil then you could ||= &#8230;</p>
<p>Oh I think I understand &#8230; the first ref to @updated_path should be to the method call updated_path &#8230; then the ensure block will be executed if an exception is raised &#8230; nice!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Convention of Configuration by stonean</title>
		<link>http://blog.stonean.com/2009/03/06/convention-of-configuration/#comment-123</link>
		<dc:creator>stonean</dc:creator>
		<pubDate>Sat, 07 Mar 2009 19:00:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stonean.com/?p=258#comment-123</guid>
		<description>Thanks Lark!  I really enjoyed the discussion and thought it was worthy of the public forum.  Hopefully it&#039;s something others agree on or have already done privately and support this type configuration change within Rails.</description>
		<content:encoded><![CDATA[<p>Thanks Lark!  I really enjoyed the discussion and thought it was worthy of the public forum.  Hopefully it&#8217;s something others agree on or have already done privately and support this type configuration change within Rails.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Convention of Configuration by Jon Larkowski</title>
		<link>http://blog.stonean.com/2009/03/06/convention-of-configuration/#comment-122</link>
		<dc:creator>Jon Larkowski</dc:creator>
		<pubDate>Sat, 07 Mar 2009 18:45:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stonean.com/?p=258#comment-122</guid>
		<description>Thanks for typing this up. Glad to see you advocating this publicly after the conversation we had. Hope some people are convinced.</description>
		<content:encoded><![CDATA[<p>Thanks for typing this up. Glad to see you advocating this publicly after the conversation we had. Hope some people are convinced.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Convention of Configuration by stonean</title>
		<link>http://blog.stonean.com/2009/03/06/convention-of-configuration/#comment-120</link>
		<dc:creator>stonean</dc:creator>
		<pubDate>Sat, 07 Mar 2009 02:55:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stonean.com/?p=258#comment-120</guid>
		<description>Hey Phil! 
I don&#039;t have anything against config files like YAML.  It&#039;s only an issue when they contain environment sections like database.yml.  For each additional file that has its own environment sections you are creating another potential failure point when it comes to environment configuration.

None of this is probably an issue with small teams.  When you involve multiple dev teams and a separate infrastructure team, this convention is very, very helpful.</description>
		<content:encoded><![CDATA[<p>Hey Phil!<br />
I don&#8217;t have anything against config files like YAML.  It&#8217;s only an issue when they contain environment sections like database.yml.  For each additional file that has its own environment sections you are creating another potential failure point when it comes to environment configuration.</p>
<p>None of this is probably an issue with small teams.  When you involve multiple dev teams and a separate infrastructure team, this convention is very, very helpful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Convention of Configuration by Phil</title>
		<link>http://blog.stonean.com/2009/03/06/convention-of-configuration/#comment-119</link>
		<dc:creator>Phil</dc:creator>
		<pubDate>Sat, 07 Mar 2009 02:42:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stonean.com/?p=258#comment-119</guid>
		<description>Heya Andy- I recently had a need to do something similar in one of my apps and I created a simple initializer that used an OpenStruct and a YAML::load passing the RAILS_ENV to get a particular section -- similar to how Rails does database.yml I believe.  The idea isn&#039;t 100% mine -- read it somewhere (not sure where).  I&#039;m not sure if this is better or worse or just different.  I agree it would be nice to have somewhere uniform to stash &#039;extra&#039; config info though.

Know any reasons to avoid OpenStruct or YAML in general?  YAML just seems easier for the &#039;less experienced&#039; to read and understand.</description>
		<content:encoded><![CDATA[<p>Heya Andy- I recently had a need to do something similar in one of my apps and I created a simple initializer that used an OpenStruct and a YAML::load passing the RAILS_ENV to get a particular section &#8212; similar to how Rails does database.yml I believe.  The idea isn&#8217;t 100% mine &#8212; read it somewhere (not sure where).  I&#8217;m not sure if this is better or worse or just different.  I agree it would be nice to have somewhere uniform to stash &#8216;extra&#8217; config info though.</p>
<p>Know any reasons to avoid OpenStruct or YAML in general?  YAML just seems easier for the &#8216;less experienced&#8217; to read and understand.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Cleaner Ruby by Kevin Menard</title>
		<link>http://blog.stonean.com/2009/02/03/cleaner-ruby/#comment-105</link>
		<dc:creator>Kevin Menard</dc:creator>
		<pubDate>Sat, 07 Feb 2009 17:34:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stonean.com/?p=207#comment-105</guid>
		<description>I can&#039;t say I agree with the 80 column rule.  It made sense 10 years ago when I was writing C on a FreeBSD terminal, but now with at 23&quot; display, 80 characters just wastes most of my screen.  I tend to use whatever looks reasonable.  One can normally tell an excessively long line upon inspection.

I&#039;m also not a huge fan of the newline escape to continue code onto the next line.  I use it when necessary, but not something I make a habit of or want to.</description>
		<content:encoded><![CDATA[<p>I can&#8217;t say I agree with the 80 column rule.  It made sense 10 years ago when I was writing C on a FreeBSD terminal, but now with at 23&#8243; display, 80 characters just wastes most of my screen.  I tend to use whatever looks reasonable.  One can normally tell an excessively long line upon inspection.</p>
<p>I&#8217;m also not a huge fan of the newline escape to continue code onto the next line.  I use it when necessary, but not something I make a habit of or want to.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
