<?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 I like stuff.</title>
	<atom:link href="http://ilikestuffblog.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://ilikestuffblog.com</link>
	<description>Brian Morearty's Blog</description>
	<lastBuildDate>Tue, 21 Feb 2012 17:43:49 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>Comment on Export Your iPhoto Library to a Folder Structure by daniloferreiranilo</title>
		<link>http://ilikestuffblog.com/2010/07/07/export-your-iphoto-library-to-a-folder-structure/#comment-1732</link>
		<dc:creator><![CDATA[daniloferreiranilo]]></dc:creator>
		<pubDate>Tue, 21 Feb 2012 17:43:49 +0000</pubDate>
		<guid isPermaLink="false">http://bmorearty.wordpress.com/?p=326#comment-1732</guid>
		<description><![CDATA[Well done, man. Extremely good script. Congratulations, tks for sharing.]]></description>
		<content:encoded><![CDATA[<p>Well done, man. Extremely good script. Congratulations, tks for sharing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on What is your Zombie Escape Plan? by Victoria(kittendomenater)</title>
		<link>http://ilikestuffblog.com/2008/04/16/what-is-your-zombie-escape-plan/#comment-1672</link>
		<dc:creator><![CDATA[Victoria(kittendomenater)]]></dc:creator>
		<pubDate>Sun, 22 Jan 2012 00:59:03 +0000</pubDate>
		<guid isPermaLink="false">http://bmorearty.wordpress.com/?p=8#comment-1672</guid>
		<description><![CDATA[The zombie epidemic is a big deal. No one wants to be a zombie for the fear of death, me and my friend were talking about it today and have out plans set. We are girls! This outrageous zombie plan of our happens to be the start of all of yours. We have thought about this for around 6years. (we have no life)so we have perfected our plans. 1) if indeed everyone we know does turn into one, we have each other and some of our crazy family. 2) we will split up in 2 teams of 4, one will go to the bass pro shop, the other Sam&#039;s club,ironically ours are close to each other so we will have ammo and food,all the essentials.Our middle man is the goto guy for our transportation between each other. (my friends uncle). 3) There is no telling when the epidemic is over so if we happen to have our plans changed we will kill our selfs. (she doesn&#039;t want to die so i will kill her in her sleep.) &gt;:D]]></description>
		<content:encoded><![CDATA[<p>The zombie epidemic is a big deal. No one wants to be a zombie for the fear of death, me and my friend were talking about it today and have out plans set. We are girls! This outrageous zombie plan of our happens to be the start of all of yours. We have thought about this for around 6years. (we have no life)so we have perfected our plans. 1) if indeed everyone we know does turn into one, we have each other and some of our crazy family. 2) we will split up in 2 teams of 4, one will go to the bass pro shop, the other Sam&#8217;s club,ironically ours are close to each other so we will have ammo and food,all the essentials.Our middle man is the goto guy for our transportation between each other. (my friends uncle). 3) There is no telling when the epidemic is over so if we happen to have our plans changed we will kill our selfs. (she doesn&#8217;t want to die so i will kill her in her sleep.) &gt;:D</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to fix Ruby error: Unsupported digest algorithm (sha256). by Michael D.W. Prendergast</title>
		<link>http://ilikestuffblog.com/2011/01/22/how-to-fix-ruby-error-unsupported-digest-algorithm-sha256/#comment-1663</link>
		<dc:creator><![CDATA[Michael D.W. Prendergast]]></dc:creator>
		<pubDate>Sun, 11 Dec 2011 01:24:49 +0000</pubDate>
		<guid isPermaLink="false">http://ilikestuffblog.com/?p=449#comment-1663</guid>
		<description><![CDATA[Just in case it helps someone else: if you installed openssl with MacPorts, you need to use /opt/local instead of /usr/local. 

For Ruby 1.9.2, I followed the instructions at  http://beginrescueend.com/packages/openssl/ , and changed the path to /opt/local since I&#039;m using MacPorts.]]></description>
		<content:encoded><![CDATA[<p>Just in case it helps someone else: if you installed openssl with MacPorts, you need to use /opt/local instead of /usr/local. </p>
<p>For Ruby 1.9.2, I followed the instructions at  <a href="http://beginrescueend.com/packages/openssl/" rel="nofollow">http://beginrescueend.com/packages/openssl/</a> , and changed the path to /opt/local since I&#8217;m using MacPorts.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to Free Up Inactive (Blue) Memory in Mac OS X by Harry McGeough</title>
		<link>http://ilikestuffblog.com/2011/11/09/how-to-clear-inactive-blue-memory-in-mac-os-x/#comment-1621</link>
		<dc:creator><![CDATA[Harry McGeough]]></dc:creator>
		<pubDate>Sun, 27 Nov 2011 05:47:45 +0000</pubDate>
		<guid isPermaLink="false">http://ilikestuffblog.com/?p=561#comment-1621</guid>
		<description><![CDATA[Thats great. I was playing wow and it had 2 GB out of 4 GB of inactive memory and the game was running really slow. Guess I should have read the UNIX manual...]]></description>
		<content:encoded><![CDATA[<p>Thats great. I was playing wow and it had 2 GB out of 4 GB of inactive memory and the game was running really slow. Guess I should have read the UNIX manual&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to write case (switch) statements in Ruby by jwoodlee</title>
		<link>http://ilikestuffblog.com/2008/04/15/how-to-write-case-switch-statements-in-ruby/#comment-1562</link>
		<dc:creator><![CDATA[jwoodlee]]></dc:creator>
		<pubDate>Fri, 11 Nov 2011 14:06:33 +0000</pubDate>
		<guid isPermaLink="false">http://bmorearty.wordpress.com/?p=5#comment-1562</guid>
		<description><![CDATA[every since my first C class in college i have always munged the switch/case. Now that I now almost a dozen different languages. Its hopeless in remembering the syntax. Awesome post and example! Thanks.]]></description>
		<content:encoded><![CDATA[<p>every since my first C class in college i have always munged the switch/case. Now that I now almost a dozen different languages. Its hopeless in remembering the syntax. Awesome post and example! Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Use Spin for Faster Test Iterations by sunaku</title>
		<link>http://ilikestuffblog.com/2011/11/04/use-spin-for-faster-test-iterations/#comment-1554</link>
		<dc:creator><![CDATA[sunaku]]></dc:creator>
		<pubDate>Wed, 09 Nov 2011 18:36:20 +0000</pubDate>
		<guid isPermaLink="false">http://ilikestuffblog.com/?p=548#comment-1554</guid>
		<description><![CDATA[Here is a simple script that emulates Spin using TestR:

https://gist.github.com/1352391

It has the added advantage that you can specify which tests (the names of test blocks / test methods) you want to run inside a `push`ed test file.

Cheers!]]></description>
		<content:encoded><![CDATA[<p>Here is a simple script that emulates Spin using TestR:</p>
<p><a href="https://gist.github.com/1352391" rel="nofollow">https://gist.github.com/1352391</a></p>
<p>It has the added advantage that you can specify which tests (the names of test blocks / test methods) you want to run inside a `push`ed test file.</p>
<p>Cheers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Use Spin for Faster Test Iterations by sunaku</title>
		<link>http://ilikestuffblog.com/2011/11/04/use-spin-for-faster-test-iterations/#comment-1550</link>
		<dc:creator><![CDATA[sunaku]]></dc:creator>
		<pubDate>Wed, 09 Nov 2011 05:08:19 +0000</pubDate>
		<guid isPermaLink="false">http://ilikestuffblog.com/?p=548#comment-1550</guid>
		<description><![CDATA[I see.  By default, TestR does not come with Rails heuristics enabled; you have to manually require it in your configuration file.  Instead, it has [basic Ruby heursitics](https://github.com/sunaku/testr/blob/master/lib/testr/config.rb#L25-34) built in.  So you could perform your semi-automatic testing that way; or if that&#039;s too much, you could:

* Redefine its entire configuration (OpenStruct object) and fill in what you want.

* Open up another terminal, run `testr-master` and tell it (see its man page for details:  `testr-master --help`) exactly which files to run.  This is very similar to spin, but it operates on STDIN rather than a UNIX socket.]]></description>
		<content:encoded><![CDATA[<p>I see.  By default, TestR does not come with Rails heuristics enabled; you have to manually require it in your configuration file.  Instead, it has [basic Ruby heursitics](<a href="https://github.com/sunaku/testr/blob/master/lib/testr/config.rb#L25-34" rel="nofollow">https://github.com/sunaku/testr/blob/master/lib/testr/config.rb#L25-34</a>) built in.  So you could perform your semi-automatic testing that way; or if that&#8217;s too much, you could:</p>
<p>* Redefine its entire configuration (OpenStruct object) and fill in what you want.</p>
<p>* Open up another terminal, run `testr-master` and tell it (see its man page for details:  `testr-master &#8211;help`) exactly which files to run.  This is very similar to spin, but it operates on STDIN rather than a UNIX socket.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Use Spin for Faster Test Iterations by Brian Morearty</title>
		<link>http://ilikestuffblog.com/2011/11/04/use-spin-for-faster-test-iterations/#comment-1549</link>
		<dc:creator><![CDATA[Brian Morearty]]></dc:creator>
		<pubDate>Wed, 09 Nov 2011 04:52:46 +0000</pubDate>
		<guid isPermaLink="false">http://ilikestuffblog.com/?p=548#comment-1549</guid>
		<description><![CDATA[Thanks...but that wasn&#039;t what I meant by &quot;on demand.&quot; What if I&#039;m changing the application--not the test? And I want to run only that one test (or file), not any of the other tests &amp; files that might be run when I change the app.

And I still don&#039;t want to pay the price of waiting for the Rails environment to load. 

Sometimes heuristics are great. But there are other times you just want to tell the computer what to do.]]></description>
		<content:encoded><![CDATA[<p>Thanks&#8230;but that wasn&#8217;t what I meant by &#8220;on demand.&#8221; What if I&#8217;m changing the application&#8211;not the test? And I want to run only that one test (or file), not any of the other tests &amp; files that might be run when I change the app.</p>
<p>And I still don&#8217;t want to pay the price of waiting for the Rails environment to load. </p>
<p>Sometimes heuristics are great. But there are other times you just want to tell the computer what to do.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Use Spin for Faster Test Iterations by sunaku</title>
		<link>http://ilikestuffblog.com/2011/11/04/use-spin-for-faster-test-iterations/#comment-1548</link>
		<dc:creator><![CDATA[sunaku]]></dc:creator>
		<pubDate>Wed, 09 Nov 2011 04:45:04 +0000</pubDate>
		<guid isPermaLink="false">http://ilikestuffblog.com/?p=548#comment-1548</guid>
		<description><![CDATA[Absolutely, you can re-run any test file by simply saving it!  When you do, TestR tries to figure out which tests inside your newly saved test file have changed (using diff and some simple regexps) and then attempts to run just those.  To override this behavior and have it run all tests in your saved file, simply save the test file *again* (this is the 2nd save so far).

The testr(1) bin script provides a simple command-line UI that lets you (among other things) re-run all currently failing tests, all currently passing tests, or just everything.  So that&#039;s taken care of too.  :-)]]></description>
		<content:encoded><![CDATA[<p>Absolutely, you can re-run any test file by simply saving it!  When you do, TestR tries to figure out which tests inside your newly saved test file have changed (using diff and some simple regexps) and then attempts to run just those.  To override this behavior and have it run all tests in your saved file, simply save the test file *again* (this is the 2nd save so far).</p>
<p>The testr(1) bin script provides a simple command-line UI that lets you (among other things) re-run all currently failing tests, all currently passing tests, or just everything.  So that&#8217;s taken care of too.  :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Use Spin for Faster Test Iterations by Brian Morearty</title>
		<link>http://ilikestuffblog.com/2011/11/04/use-spin-for-faster-test-iterations/#comment-1547</link>
		<dc:creator><![CDATA[Brian Morearty]]></dc:creator>
		<pubDate>Wed, 09 Nov 2011 04:30:09 +0000</pubDate>
		<guid isPermaLink="false">http://ilikestuffblog.com/?p=548#comment-1547</guid>
		<description><![CDATA[Thanks for the link, sunaku. TestR looks interesting. One question I have after reading the Readme: I didn&#039;t see an example showing how to invoke a test file on demand. The use case I&#039;m thinking of is the one I described in this blog post: you keep wanting to re-run a single file on demand instead of automatically via a watcher.

Does TestR support this?

(I am also a fan of automatically running tests with a watcher such as guard, but when the test suite is big and slow I fall back to on-demand testing.)]]></description>
		<content:encoded><![CDATA[<p>Thanks for the link, sunaku. TestR looks interesting. One question I have after reading the Readme: I didn&#8217;t see an example showing how to invoke a test file on demand. The use case I&#8217;m thinking of is the one I described in this blog post: you keep wanting to re-run a single file on demand instead of automatically via a watcher.</p>
<p>Does TestR support this?</p>
<p>(I am also a fan of automatically running tests with a watcher such as guard, but when the test suite is big and slow I fall back to on-demand testing.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Use Spin for Faster Test Iterations by sunaku</title>
		<link>http://ilikestuffblog.com/2011/11/04/use-spin-for-faster-test-iterations/#comment-1546</link>
		<dc:creator><![CDATA[sunaku]]></dc:creator>
		<pubDate>Wed, 09 Nov 2011 03:35:25 +0000</pubDate>
		<guid isPermaLink="false">http://ilikestuffblog.com/?p=548#comment-1546</guid>
		<description><![CDATA[I think &lt;a href=&quot;https://github.com/sunaku/testr#readme&quot; rel=&quot;nofollow&quot;&gt;TestR&lt;/a&gt; is better (note: I&#039;m biased because I&#039;m one of its authors) because it combines the best of spin + guard + autotest into a small (less than 380 lines of code), unobtrusive (no changes to your source code or test suite needed), and single package (simply gem install and run!).]]></description>
		<content:encoded><![CDATA[<p>I think <a href="https://github.com/sunaku/testr#readme" rel="nofollow">TestR</a> is better (note: I&#8217;m biased because I&#8217;m one of its authors) because it combines the best of spin + guard + autotest into a small (less than 380 lines of code), unobtrusive (no changes to your source code or test suite needed), and single package (simply gem install and run!).</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Improvements to the iPhoto Export app by Harry Hasler</title>
		<link>http://ilikestuffblog.com/2010/09/04/improvements-to-the-iphoto-export-app/#comment-1545</link>
		<dc:creator><![CDATA[Harry Hasler]]></dc:creator>
		<pubDate>Mon, 07 Nov 2011 20:07:34 +0000</pubDate>
		<guid isPermaLink="false">http://ilikestuffblog.com/?p=346#comment-1545</guid>
		<description><![CDATA[Thanks for sharing this useful script. I tested the basic functionality (no command line options) with iPhoto &#039;11. It works well! 

btw: The default for the date delimiter string seems to be undefined.]]></description>
		<content:encoded><![CDATA[<p>Thanks for sharing this useful script. I tested the basic functionality (no command line options) with iPhoto &#8217;11. It works well! </p>
<p>btw: The default for the date delimiter string seems to be undefined.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Dear GitHub: Please Improve Your Notifications by Lars Olesen</title>
		<link>http://ilikestuffblog.com/2011/07/14/github-notifications-suck/#comment-1543</link>
		<dc:creator><![CDATA[Lars Olesen]]></dc:creator>
		<pubDate>Fri, 30 Sep 2011 05:01:13 +0000</pubDate>
		<guid isPermaLink="false">http://ilikestuffblog.com/?p=515#comment-1543</guid>
		<description><![CDATA[Nice writeup. I agree. There is room for improvement.]]></description>
		<content:encoded><![CDATA[<p>Nice writeup. I agree. There is room for improvement.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to Set a Time Zone for Each Request in Rails by Revision42 (@revision42)</title>
		<link>http://ilikestuffblog.com/2011/02/03/how-to-set-a-time-zone-for-each-request-in-rails/#comment-1540</link>
		<dc:creator><![CDATA[Revision42 (@revision42)]]></dc:creator>
		<pubDate>Mon, 19 Sep 2011 23:37:33 +0000</pubDate>
		<guid isPermaLink="false">http://ilikestuffblog.com/?p=462#comment-1540</guid>
		<description><![CDATA[Hi Brian, thanks for the response, it turns out Time.now.zone is just a string representation of a time-zone.  Whereas ActiveSupport::TimeZone is really what I want to set Time.zone.

Your code worked for me if I put it directly in the action where it was needed.   However the around_filter didnt work for me, the Time.zone seems to fall out of scope in the yield which surprised me.]]></description>
		<content:encoded><![CDATA[<p>Hi Brian, thanks for the response, it turns out Time.now.zone is just a string representation of a time-zone.  Whereas ActiveSupport::TimeZone is really what I want to set Time.zone.</p>
<p>Your code worked for me if I put it directly in the action where it was needed.   However the around_filter didnt work for me, the Time.zone seems to fall out of scope in the yield which surprised me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to Set a Time Zone for Each Request in Rails by Brian Morearty</title>
		<link>http://ilikestuffblog.com/2011/02/03/how-to-set-a-time-zone-for-each-request-in-rails/#comment-1536</link>
		<dc:creator><![CDATA[Brian Morearty]]></dc:creator>
		<pubDate>Fri, 16 Sep 2011 04:26:32 +0000</pubDate>
		<guid isPermaLink="false">http://ilikestuffblog.com/?p=462#comment-1536</guid>
		<description><![CDATA[Hi Revision42,

&#039;CST&#039; is not one of the names Rails uses for time zones. You can see the full list by looking in the activesupport gem in lib/active_support/values/time_zone.rb. 

The Rails name for CST is &quot;Central Time (US &amp; Canada)&quot;. 

One easy way to see this file is:
$ gem install gemedit
$ gem edit activesupport

This opens activesupport in your editor (whatever EDITOR is set to). Then navigate to the file.]]></description>
		<content:encoded><![CDATA[<p>Hi Revision42,</p>
<p>&#8216;CST&#8217; is not one of the names Rails uses for time zones. You can see the full list by looking in the activesupport gem in lib/active_support/values/time_zone.rb. </p>
<p>The Rails name for CST is &#8220;Central Time (US &amp; Canada)&#8221;. </p>
<p>One easy way to see this file is:<br />
$ gem install gemedit<br />
$ gem edit activesupport</p>
<p>This opens activesupport in your editor (whatever EDITOR is set to). Then navigate to the file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to Set a Time Zone for Each Request in Rails by Revision42 (@revision42)</title>
		<link>http://ilikestuffblog.com/2011/02/03/how-to-set-a-time-zone-for-each-request-in-rails/#comment-1535</link>
		<dc:creator><![CDATA[Revision42 (@revision42)]]></dc:creator>
		<pubDate>Fri, 16 Sep 2011 01:30:05 +0000</pubDate>
		<guid isPermaLink="false">http://ilikestuffblog.com/?p=462#comment-1535</guid>
		<description><![CDATA[Hi Brian,  I&#039;ve been trying to set Time.zone directly as in: Time.zone=&#039;CST&#039;, I still get UTC if i check Time.zone.  Time.now is in CDT and Time.now.zone is CDT.  I&#039;ve also tried Time.zone=Time.now.zone, yet Time.zone still yields UTC.  Not sure what to make of all this.  My goal is to set the local timezone so I can correctly test a controller action which converts a stored UTC date into a displayable local time - otherwise my test only passes in one timezone!]]></description>
		<content:encoded><![CDATA[<p>Hi Brian,  I&#8217;ve been trying to set Time.zone directly as in: Time.zone=&#8217;CST&#8217;, I still get UTC if i check Time.zone.  Time.now is in CDT and Time.now.zone is CDT.  I&#8217;ve also tried Time.zone=Time.now.zone, yet Time.zone still yields UTC.  Not sure what to make of all this.  My goal is to set the local timezone so I can correctly test a controller action which converts a stored UTC date into a displayable local time &#8211; otherwise my test only passes in one timezone!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Dear GitHub: Please Improve Your Notifications by Brian Morearty</title>
		<link>http://ilikestuffblog.com/2011/07/14/github-notifications-suck/#comment-1531</link>
		<dc:creator><![CDATA[Brian Morearty]]></dc:creator>
		<pubDate>Sun, 21 Aug 2011 15:46:14 +0000</pubDate>
		<guid isPermaLink="false">http://ilikestuffblog.com/?p=515#comment-1531</guid>
		<description><![CDATA[Update: added the &quot;If it&#039;s a pull request, what is its current status?&quot; point to the list of info I want to see at a glance in the inbox.]]></description>
		<content:encoded><![CDATA[<p>Update: added the &#8220;If it&#8217;s a pull request, what is its current status?&#8221; point to the list of info I want to see at a glance in the inbox.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to fix Ruby error: Unsupported digest algorithm (sha256). by Josh Chu</title>
		<link>http://ilikestuffblog.com/2011/01/22/how-to-fix-ruby-error-unsupported-digest-algorithm-sha256/#comment-1520</link>
		<dc:creator><![CDATA[Josh Chu]]></dc:creator>
		<pubDate>Thu, 19 May 2011 03:49:49 +0000</pubDate>
		<guid isPermaLink="false">http://ilikestuffblog.com/?p=449#comment-1520</guid>
		<description><![CDATA[Yeah that was the last two nights of install, reinstall fun!  The good news is this post comes up quite high in the search engine rankings so hopefully all the comments above are helpful to the next guy!
The gist of it is simple however -- get a standalone working rails install with openssl compiled into the binaries and you&#039;re golden]]></description>
		<content:encoded><![CDATA[<p>Yeah that was the last two nights of install, reinstall fun!  The good news is this post comes up quite high in the search engine rankings so hopefully all the comments above are helpful to the next guy!<br />
The gist of it is simple however &#8212; get a standalone working rails install with openssl compiled into the binaries and you&#8217;re golden</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to fix Ruby error: Unsupported digest algorithm (sha256). by Brian Morearty</title>
		<link>http://ilikestuffblog.com/2011/01/22/how-to-fix-ruby-error-unsupported-digest-algorithm-sha256/#comment-1519</link>
		<dc:creator><![CDATA[Brian Morearty]]></dc:creator>
		<pubDate>Thu, 19 May 2011 02:24:19 +0000</pubDate>
		<guid isPermaLink="false">http://ilikestuffblog.com/?p=449#comment-1519</guid>
		<description><![CDATA[Wow, Josh, that must have sucked. I hate things like this that are super-hard to solve. It makes people just want to give up and switch to a different language.

Thanks for posting your detailed notes.]]></description>
		<content:encoded><![CDATA[<p>Wow, Josh, that must have sucked. I hate things like this that are super-hard to solve. It makes people just want to give up and switch to a different language.</p>
<p>Thanks for posting your detailed notes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to fix Ruby error: Unsupported digest algorithm (sha256). by Josh Chu</title>
		<link>http://ilikestuffblog.com/2011/01/22/how-to-fix-ruby-error-unsupported-digest-algorithm-sha256/#comment-1518</link>
		<dc:creator><![CDATA[Josh Chu]]></dc:creator>
		<pubDate>Wed, 18 May 2011 22:17:45 +0000</pubDate>
		<guid isPermaLink="false">http://ilikestuffblog.com/?p=449#comment-1518</guid>
		<description><![CDATA[I tried all the above and none worked.  I ended up having to reinstall rails as a local single-user copy via the following:

Installation of openssl -- requires a new install of rails (failures with Unsupported digest algorithm (sha256)):
1) Validate rvm and any existing copies of rails are gone.  If no rvm is installed, skip this bit
  a) rvm list
  b) rvm remove 1.9.2 (should remove all copies that you have installed with rvm)
2) Download and install homebrew - 
  a) ruby -e &quot;$(curl -fsSL https://gist.github.com/raw/323731/install_homebrew.rb)&quot;
3) Install OpenSSL
  a) brew install openssl 
    --&gt; note which directory it has installed to (should be something like /usr/local/Cellar/openssl/0.9.8o)
4) install rvm -- followed https://rvm.beginrescueend.com/rvm/install/ for single user install which should overwrite system installs of rvm/ruby/rails
  a) bash &lt; &gt; ~/.bash_profile
  c) . ~/.bash_profile
  d) type rvm &#124; head -1   # should return &#039;rvm is a function&#039;
5) install ruby
  a) rvm install 1.9.2 --with-openssl-dir=/usr/local/Cellar/openssl/0.9.8o
  b) rvm use 1.9.2
  c) rvm use 1.9.2 --default
  d) ruby --version should return this:
		ruby 1.9.2p180 (2011-02-18 revision 30909) [i386-darwin9.8.0]
6) install rails &amp; gems
  a) gem install rails --version =3.0.3
  b) env ARCHFLAGS=&quot;-arch i386&quot; gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config
  c) bundle install
7) validate 
  a) ruby -ropenssl -e &#039;p OpenSSL::Digest::Digest.new(&quot;sha256&quot;)&#039;   # should not error
  b) ruby -e &quot;puts require(&#039;openssl&#039;)&quot;							   # should return true
  c) rails console and enter this:
    OpenSSL::Digest::Digest.new(&quot;sha256&quot;)
    --&gt; should not error and should return something like this:
        #]]></description>
		<content:encoded><![CDATA[<p>I tried all the above and none worked.  I ended up having to reinstall rails as a local single-user copy via the following:</p>
<p>Installation of openssl &#8212; requires a new install of rails (failures with Unsupported digest algorithm (sha256)):<br />
1) Validate rvm and any existing copies of rails are gone.  If no rvm is installed, skip this bit<br />
  a) rvm list<br />
  b) rvm remove 1.9.2 (should remove all copies that you have installed with rvm)<br />
2) Download and install homebrew &#8211;<br />
  a) ruby -e &#8220;$(curl -fsSL <a href="https://gist.github.com/raw/323731/install_homebrew.rb" rel="nofollow">https://gist.github.com/raw/323731/install_homebrew.rb</a>)&#8221;<br />
3) Install OpenSSL<br />
  a) brew install openssl<br />
    &#8211;&gt; note which directory it has installed to (should be something like /usr/local/Cellar/openssl/0.9.8o)<br />
4) install rvm &#8212; followed <a href="https://rvm.beginrescueend.com/rvm/install/" rel="nofollow">https://rvm.beginrescueend.com/rvm/install/</a> for single user install which should overwrite system installs of rvm/ruby/rails<br />
  a) bash &lt; &gt; ~/.bash_profile<br />
  c) . ~/.bash_profile<br />
  d) type rvm | head -1   # should return &#8216;rvm is a function&#8217;<br />
5) install ruby<br />
  a) rvm install 1.9.2 &#8211;with-openssl-dir=/usr/local/Cellar/openssl/0.9.8o<br />
  b) rvm use 1.9.2<br />
  c) rvm use 1.9.2 &#8211;default<br />
  d) ruby &#8211;version should return this:<br />
		ruby 1.9.2p180 (2011-02-18 revision 30909) [i386-darwin9.8.0]<br />
6) install rails &amp; gems<br />
  a) gem install rails &#8211;version =3.0.3<br />
  b) env ARCHFLAGS=&#8221;-arch i386&#8243; gem install mysql &#8212; &#8211;with-mysql-config=/usr/local/mysql/bin/mysql_config<br />
  c) bundle install<br />
7) validate<br />
  a) ruby -ropenssl -e &#8216;p OpenSSL::Digest::Digest.new(&#8220;sha256&#8243;)&#8217;   # should not error<br />
  b) ruby -e &#8220;puts require(&#8216;openssl&#8217;)&#8221;							   # should return true<br />
  c) rails console and enter this:<br />
    OpenSSL::Digest::Digest.new(&#8220;sha256&#8243;)<br />
    &#8211;&gt; should not error and should return something like this:<br />
        #</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Hello, Entrepreneur. (And Consultant.) by parthiv</title>
		<link>http://ilikestuffblog.com/2011/03/08/hello-entrepreneur-and-consultant/#comment-1508</link>
		<dc:creator><![CDATA[parthiv]]></dc:creator>
		<pubDate>Mon, 18 Apr 2011 05:31:22 +0000</pubDate>
		<guid isPermaLink="false">http://ilikestuffblog.com/?p=486#comment-1508</guid>
		<description><![CDATA[Congrats on beginning of this new journey]]></description>
		<content:encoded><![CDATA[<p>Congrats on beginning of this new journey</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to fix Ruby error: Unsupported digest algorithm (sha256). by Phil Riley</title>
		<link>http://ilikestuffblog.com/2011/01/22/how-to-fix-ruby-error-unsupported-digest-algorithm-sha256/#comment-1496</link>
		<dc:creator><![CDATA[Phil Riley]]></dc:creator>
		<pubDate>Mon, 11 Apr 2011 01:07:00 +0000</pubDate>
		<guid isPermaLink="false">http://ilikestuffblog.com/?p=449#comment-1496</guid>
		<description><![CDATA[I couldn&#039;t get 1.9.2 to install that way either, but then I tried the instructions here:

https://rvm.beginrescueend.com/packages/openssl/

and it worked!]]></description>
		<content:encoded><![CDATA[<p>I couldn&#8217;t get 1.9.2 to install that way either, but then I tried the instructions here:</p>
<p><a href="https://rvm.beginrescueend.com/packages/openssl/" rel="nofollow">https://rvm.beginrescueend.com/packages/openssl/</a></p>
<p>and it worked!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to fix Ruby error: Unsupported digest algorithm (sha256). by Mike Costanza</title>
		<link>http://ilikestuffblog.com/2011/01/22/how-to-fix-ruby-error-unsupported-digest-algorithm-sha256/#comment-1481</link>
		<dc:creator><![CDATA[Mike Costanza]]></dc:creator>
		<pubDate>Mon, 04 Apr 2011 19:53:03 +0000</pubDate>
		<guid isPermaLink="false">http://ilikestuffblog.com/?p=449#comment-1481</guid>
		<description><![CDATA[This worked for me using 1.8.7 and 1.8.6.  Thanks!]]></description>
		<content:encoded><![CDATA[<p>This worked for me using 1.8.7 and 1.8.6.  Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Hello, Entrepreneur. (And Consultant.) by whazzmaster</title>
		<link>http://ilikestuffblog.com/2011/03/08/hello-entrepreneur-and-consultant/#comment-1466</link>
		<dc:creator><![CDATA[whazzmaster]]></dc:creator>
		<pubDate>Wed, 09 Mar 2011 18:08:39 +0000</pubDate>
		<guid isPermaLink="false">http://ilikestuffblog.com/?p=486#comment-1466</guid>
		<description><![CDATA[Muy congrats, Brian.  I hadn&#039;t worked with you in any capacity for quite awhile, but I always thought of you as the Ultimate Resource when I had questions about QB UI- your ability to teach people while Getting Things Done means consulting will be right up your alley.  

I&#039;m still trying to promote Rails internally while pursuing my own projects as well.  Here&#039;s to its continued growth.]]></description>
		<content:encoded><![CDATA[<p>Muy congrats, Brian.  I hadn&#8217;t worked with you in any capacity for quite awhile, but I always thought of you as the Ultimate Resource when I had questions about QB UI- your ability to teach people while Getting Things Done means consulting will be right up your alley.  </p>
<p>I&#8217;m still trying to promote Rails internally while pursuing my own projects as well.  Here&#8217;s to its continued growth.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Hello, Entrepreneur. (And Consultant.) by Brian Morearty</title>
		<link>http://ilikestuffblog.com/2011/03/08/hello-entrepreneur-and-consultant/#comment-1465</link>
		<dc:creator><![CDATA[Brian Morearty]]></dc:creator>
		<pubDate>Wed, 09 Mar 2011 07:58:03 +0000</pubDate>
		<guid isPermaLink="false">http://ilikestuffblog.com/?p=486#comment-1465</guid>
		<description><![CDATA[Ha ha, I know. No bubble now! Nosirree!]]></description>
		<content:encoded><![CDATA[<p>Ha ha, I know. No bubble now! Nosirree!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Hello, Entrepreneur. (And Consultant.) by Mike Morearty</title>
		<link>http://ilikestuffblog.com/2011/03/08/hello-entrepreneur-and-consultant/#comment-1463</link>
		<dc:creator><![CDATA[Mike Morearty]]></dc:creator>
		<pubDate>Wed, 09 Mar 2011 07:40:20 +0000</pubDate>
		<guid isPermaLink="false">http://ilikestuffblog.com/?p=486#comment-1463</guid>
		<description><![CDATA[Good idea bro, because although there was a bubble back in 1999, things are rock-solid now!  :-P

Seriously though, I&#039;m really excited for you, and I can&#039;t wait to see how things go with your startup.]]></description>
		<content:encoded><![CDATA[<p>Good idea bro, because although there was a bubble back in 1999, things are rock-solid now!  :-P</p>
<p>Seriously though, I&#8217;m really excited for you, and I can&#8217;t wait to see how things go with your startup.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to write case (switch) statements in Ruby by BT</title>
		<link>http://ilikestuffblog.com/2008/04/15/how-to-write-case-switch-statements-in-ruby/#comment-1457</link>
		<dc:creator><![CDATA[BT]]></dc:creator>
		<pubDate>Tue, 22 Feb 2011 05:40:35 +0000</pubDate>
		<guid isPermaLink="false">http://bmorearty.wordpress.com/?p=5#comment-1457</guid>
		<description><![CDATA[&quot;Except you’re not that much like me so you didn’t. But I did.&quot; 

Ha!  thanks...]]></description>
		<content:encoded><![CDATA[<p>&#8220;Except you’re not that much like me so you didn’t. But I did.&#8221; </p>
<p>Ha!  thanks&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Fun with Ruby&#8217;s instance_eval and class_eval by Brian Morearty</title>
		<link>http://ilikestuffblog.com/2009/01/09/fun-with-rubys-instance_eval-and-class_eval/#comment-1454</link>
		<dc:creator><![CDATA[Brian Morearty]]></dc:creator>
		<pubDate>Sat, 19 Feb 2011 03:36:36 +0000</pubDate>
		<guid isPermaLink="false">http://bmorearty.wordpress.com/?p=79#comment-1454</guid>
		<description><![CDATA[I agree that it&#039;s not backward if you take the perspective that everything is an object. That&#039;s why I tried to explain it by saying Fixnum.instance_eval treats Fixnum as an instance of the Class class. It seems like it helped a bunch of the other commenters to remember not only which method is which but to actually understand why. 

But for those to whom the rationale still doesn&#039;t make sense, I think there&#039;s nothing wrong with a good memory crutch once in a while.]]></description>
		<content:encoded><![CDATA[<p>I agree that it&#8217;s not backward if you take the perspective that everything is an object. That&#8217;s why I tried to explain it by saying Fixnum.instance_eval treats Fixnum as an instance of the Class class. It seems like it helped a bunch of the other commenters to remember not only which method is which but to actually understand why. </p>
<p>But for those to whom the rationale still doesn&#8217;t make sense, I think there&#8217;s nothing wrong with a good memory crutch once in a while.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Fun with Ruby&#8217;s instance_eval and class_eval by Brian Morearty</title>
		<link>http://ilikestuffblog.com/2009/01/09/fun-with-rubys-instance_eval-and-class_eval/#comment-1453</link>
		<dc:creator><![CDATA[Brian Morearty]]></dc:creator>
		<pubDate>Sat, 19 Feb 2011 03:29:12 +0000</pubDate>
		<guid isPermaLink="false">http://bmorearty.wordpress.com/?p=79#comment-1453</guid>
		<description><![CDATA[Thanks for the comments, Andy. You said you disagree but I think we actually agree with how instance_eval and class_eval work. I was trying to say exactly what you said. Sorry if it wasn&#039;t clear.]]></description>
		<content:encoded><![CDATA[<p>Thanks for the comments, Andy. You said you disagree but I think we actually agree with how instance_eval and class_eval work. I was trying to say exactly what you said. Sorry if it wasn&#8217;t clear.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Fun with Ruby&#8217;s instance_eval and class_eval by Andy</title>
		<link>http://ilikestuffblog.com/2009/01/09/fun-with-rubys-instance_eval-and-class_eval/#comment-1452</link>
		<dc:creator><![CDATA[Andy]]></dc:creator>
		<pubDate>Sat, 19 Feb 2011 02:25:20 +0000</pubDate>
		<guid isPermaLink="false">http://bmorearty.wordpress.com/?p=79#comment-1452</guid>
		<description><![CDATA[I guess more to the point, I find the mnemonic misleading. I don&#039;t find it backwards, if you take the perspective that everything in Ruby is an object.]]></description>
		<content:encoded><![CDATA[<p>I guess more to the point, I find the mnemonic misleading. I don&#8217;t find it backwards, if you take the perspective that everything in Ruby is an object.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Fun with Ruby&#8217;s instance_eval and class_eval by Andy</title>
		<link>http://ilikestuffblog.com/2009/01/09/fun-with-rubys-instance_eval-and-class_eval/#comment-1451</link>
		<dc:creator><![CDATA[Andy]]></dc:creator>
		<pubDate>Sat, 19 Feb 2011 00:23:24 +0000</pubDate>
		<guid isPermaLink="false">http://bmorearty.wordpress.com/?p=79#comment-1451</guid>
		<description><![CDATA[Brian, I have to disagree. instance_eval works on the particular instance. Fixnum here is an object, an instance, in  particular an object of type Class. When you add methods to an instance, it only affects the instance. Hence, you get class methods when you apply instance_eval to an instance of Class. using class_eval is simply like opening up the Fixnum class and adding methods, so any all instances of Fixnum  get instance methods themselves. If you take an instance of Fixnum and apply instance_eval only that instance would get the method, so you could Fixnum.new.instance_eval so you could dynamically extend a single instance of type Fixnum without affecting other instances.]]></description>
		<content:encoded><![CDATA[<p>Brian, I have to disagree. instance_eval works on the particular instance. Fixnum here is an object, an instance, in  particular an object of type Class. When you add methods to an instance, it only affects the instance. Hence, you get class methods when you apply instance_eval to an instance of Class. using class_eval is simply like opening up the Fixnum class and adding methods, so any all instances of Fixnum  get instance methods themselves. If you take an instance of Fixnum and apply instance_eval only that instance would get the method, so you could Fixnum.new.instance_eval so you could dynamically extend a single instance of type Fixnum without affecting other instances.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Teaching my 11-Year-Old Daughter to Program (in Ruby) by Tiger</title>
		<link>http://ilikestuffblog.com/2011/01/02/teaching-my-11-year-old-daughter-to-program-in-ruby/#comment-1430</link>
		<dc:creator><![CDATA[Tiger]]></dc:creator>
		<pubDate>Tue, 08 Feb 2011 09:49:16 +0000</pubDate>
		<guid isPermaLink="false">http://ilikestuffblog.com/?p=395#comment-1430</guid>
		<description><![CDATA[Hi,
got three kids, the oldest just turned six and yes, I&#039;m waiting for her to be able to read and write that I can teach her programming Ruby too. The only problem that comes to my mind is that she only speaks German. In the end I guess I&#039;ll have to teach her both English and Ruby. But I think she will like it too.]]></description>
		<content:encoded><![CDATA[<p>Hi,<br />
got three kids, the oldest just turned six and yes, I&#8217;m waiting for her to be able to read and write that I can teach her programming Ruby too. The only problem that comes to my mind is that she only speaks German. In the end I guess I&#8217;ll have to teach her both English and Ruby. But I think she will like it too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to Set a Time Zone for Each Request in Rails by Brian Morearty</title>
		<link>http://ilikestuffblog.com/2011/02/03/how-to-set-a-time-zone-for-each-request-in-rails/#comment-1427</link>
		<dc:creator><![CDATA[Brian Morearty]]></dc:creator>
		<pubDate>Fri, 04 Feb 2011 17:16:04 +0000</pubDate>
		<guid isPermaLink="false">http://ilikestuffblog.com/?p=462#comment-1427</guid>
		<description><![CDATA[Update: I&#039;ve made this change to the Time.zone= docs. 

https://github.com/lifo/docrails/commit/3a29bfae2cbb956e469942ed1d4ea8c702085a1a

It turns out to make just a doc change you don&#039;t need to submit a patch. You just check out the docrails project directly, make your change, and push it back to GitHub.

https://github.com/lifo/docrails]]></description>
		<content:encoded><![CDATA[<p>Update: I&#8217;ve made this change to the Time.zone= docs. </p>
<p><a href="https://github.com/lifo/docrails/commit/3a29bfae2cbb956e469942ed1d4ea8c702085a1a" rel="nofollow">https://github.com/lifo/docrails/commit/3a29bfae2cbb956e469942ed1d4ea8c702085a1a</a></p>
<p>It turns out to make just a doc change you don&#8217;t need to submit a patch. You just check out the docrails project directly, make your change, and push it back to GitHub.</p>
<p><a href="https://github.com/lifo/docrails" rel="nofollow">https://github.com/lifo/docrails</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to fix Ruby error: Unsupported digest algorithm (sha256). by Brian Morearty</title>
		<link>http://ilikestuffblog.com/2011/01/22/how-to-fix-ruby-error-unsupported-digest-algorithm-sha256/#comment-1422</link>
		<dc:creator><![CDATA[Brian Morearty]]></dc:creator>
		<pubDate>Mon, 31 Jan 2011 06:49:11 +0000</pubDate>
		<guid isPermaLink="false">http://ilikestuffblog.com/?p=449#comment-1422</guid>
		<description><![CDATA[Someone else had almost exactly the same problem and posted it to the rvm mailing list. His workaround was to disable the &#039;rdoc&#039; rule in rvm&#039;s makefile so it does not try to generate rdoc during installation. 

This workaround worked for me too. It&#039;s hacky but now I have 1.9.2 again!

The discussion is here: 
http://groups.google.com/group/rubyversionmanager/browse_thread/thread/9ecd3fee7fe848cd]]></description>
		<content:encoded><![CDATA[<p>Someone else had almost exactly the same problem and posted it to the rvm mailing list. His workaround was to disable the &#8216;rdoc&#8217; rule in rvm&#8217;s makefile so it does not try to generate rdoc during installation. </p>
<p>This workaround worked for me too. It&#8217;s hacky but now I have 1.9.2 again!</p>
<p>The discussion is here:<br />
<a href="http://groups.google.com/group/rubyversionmanager/browse_thread/thread/9ecd3fee7fe848cd" rel="nofollow">http://groups.google.com/group/rubyversionmanager/browse_thread/thread/9ecd3fee7fe848cd</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to fix Ruby error: Unsupported digest algorithm (sha256). by Brian Morearty</title>
		<link>http://ilikestuffblog.com/2011/01/22/how-to-fix-ruby-error-unsupported-digest-algorithm-sha256/#comment-1421</link>
		<dc:creator><![CDATA[Brian Morearty]]></dc:creator>
		<pubDate>Sun, 30 Jan 2011 05:38:56 +0000</pubDate>
		<guid isPermaLink="false">http://ilikestuffblog.com/?p=449#comment-1421</guid>
		<description><![CDATA[Thanks for the suggestion, Dave. But I still get the error with 1.9.2, &quot;undefined method `coverage_report&#039; for #&quot;]]></description>
		<content:encoded><![CDATA[<p>Thanks for the suggestion, Dave. But I still get the error with 1.9.2, &#8220;undefined method `coverage_report&#8217; for #&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to fix Ruby error: Unsupported digest algorithm (sha256). by Dave Rogers</title>
		<link>http://ilikestuffblog.com/2011/01/22/how-to-fix-ruby-error-unsupported-digest-algorithm-sha256/#comment-1420</link>
		<dc:creator><![CDATA[Dave Rogers]]></dc:creator>
		<pubDate>Sun, 30 Jan 2011 04:43:54 +0000</pubDate>
		<guid isPermaLink="false">http://ilikestuffblog.com/?p=449#comment-1420</guid>
		<description><![CDATA[Got the following from http://stackoverflow.com/questions/4567830/problem-installing-ruby-1-9-2-with-rvm-on-osx-10-4 

01-29-11 20:13:28  ~ ()ruby-1.9.2-p136
-&gt;rvm package install readline
Fetching readline-5.2.tar.gz to /Users/macajueli/.rvm/archives
Extracting readline-5.2.tar.gz to /Users/macajueli/.rvm/src
Applying patch &#039;/Users/macajueli/.rvm/patches/readline-5.2/shobj-conf.patch&#039;...
Configuring readline in /Users/macajueli/.rvm/src/readline-5.2.
Compiling readline in /Users/macajueli/.rvm/src/readline-5.2.
Installing readline to /Users/macajueli/.rvm/usr
Fetching readline-6.0.tar.gz to /Users/macajueli/.rvm/archives
Extracting readline-6.0.tar.gz to /Users/macajueli/.rvm/src
Configuring readline in /Users/macajueli/.rvm/src/readline-6.0.
Compiling readline in /Users/macajueli/.rvm/src/readline-6.0.
Installing readline to /Users/macajueli/.rvm/usr
-&gt;rvm uninstall 1.9.2
Removing /Users/macajueli/.rvm/rubies/ruby-1.9.2-p136...
01-29-11 20:13:51  ~ ()
-&gt;rvm install 1.9.2 --with-readline-dir=$rvm_path/usr
/Users/macajueli/.rvm/rubies/ruby-1.9.2-p136, this may take a while depending on your cpu(s)...

ruby-1.9.2-p136 - #fetching 
ruby-1.9.2-p136 - #extracted to /Users/macajueli/.rvm/src/ruby-1.9.2-p136 (already extracted)
ruby-1.9.2-p136 - #configuring 
ruby-1.9.2-p136 - #compiling 
ruby-1.9.2-p136 - #installing 
ruby-1.9.2-p136 - updating #rubygems for /Users/macajueli/.rvm/gems/ruby-1.9.2-p136@global
ruby-1.9.2-p136 - updating #rubygems for /Users/macajueli/.rvm/gems/ruby-1.9.2-p136
ruby-1.9.2-p136 - adjusting #shebangs for (gem).
ruby-1.9.2-p136 - #importing default gemsets (/Users/macajueli/.rvm/gemsets/)
Install of ruby-1.9.2-p136 - #complete 
01-29-11 20:18:50  ~ ()ruby-1.9.2-p136
-&gt;rvm 1.9.2
01-29-11 20:39:44  ~ ()ruby-1.9.2-p136
-&gt;ruby -v
ruby 1.9.2p136 (2010-12-25 revision 30365) [x86_64-darwin10.6.0]]]></description>
		<content:encoded><![CDATA[<p>Got the following from <a href="http://stackoverflow.com/questions/4567830/problem-installing-ruby-1-9-2-with-rvm-on-osx-10-4" rel="nofollow">http://stackoverflow.com/questions/4567830/problem-installing-ruby-1-9-2-with-rvm-on-osx-10-4</a> </p>
<p>01-29-11 20:13:28  ~ ()ruby-1.9.2-p136<br />
-&gt;rvm package install readline<br />
Fetching readline-5.2.tar.gz to /Users/macajueli/.rvm/archives<br />
Extracting readline-5.2.tar.gz to /Users/macajueli/.rvm/src<br />
Applying patch &#8216;/Users/macajueli/.rvm/patches/readline-5.2/shobj-conf.patch&#8217;&#8230;<br />
Configuring readline in /Users/macajueli/.rvm/src/readline-5.2.<br />
Compiling readline in /Users/macajueli/.rvm/src/readline-5.2.<br />
Installing readline to /Users/macajueli/.rvm/usr<br />
Fetching readline-6.0.tar.gz to /Users/macajueli/.rvm/archives<br />
Extracting readline-6.0.tar.gz to /Users/macajueli/.rvm/src<br />
Configuring readline in /Users/macajueli/.rvm/src/readline-6.0.<br />
Compiling readline in /Users/macajueli/.rvm/src/readline-6.0.<br />
Installing readline to /Users/macajueli/.rvm/usr<br />
-&gt;rvm uninstall 1.9.2<br />
Removing /Users/macajueli/.rvm/rubies/ruby-1.9.2-p136&#8230;<br />
01-29-11 20:13:51  ~ ()<br />
-&gt;rvm install 1.9.2 &#8211;with-readline-dir=$rvm_path/usr<br />
/Users/macajueli/.rvm/rubies/ruby-1.9.2-p136, this may take a while depending on your cpu(s)&#8230;</p>
<p>ruby-1.9.2-p136 &#8211; #fetching<br />
ruby-1.9.2-p136 &#8211; #extracted to /Users/macajueli/.rvm/src/ruby-1.9.2-p136 (already extracted)<br />
ruby-1.9.2-p136 &#8211; #configuring<br />
ruby-1.9.2-p136 &#8211; #compiling<br />
ruby-1.9.2-p136 &#8211; #installing<br />
ruby-1.9.2-p136 &#8211; updating #rubygems for /Users/macajueli/.rvm/gems/ruby-1.9.2-p136@global<br />
ruby-1.9.2-p136 &#8211; updating #rubygems for /Users/macajueli/.rvm/gems/ruby-1.9.2-p136<br />
ruby-1.9.2-p136 &#8211; adjusting #shebangs for (gem).<br />
ruby-1.9.2-p136 &#8211; #importing default gemsets (/Users/macajueli/.rvm/gemsets/)<br />
Install of ruby-1.9.2-p136 &#8211; #complete<br />
01-29-11 20:18:50  ~ ()ruby-1.9.2-p136<br />
-&gt;rvm 1.9.2<br />
01-29-11 20:39:44  ~ ()ruby-1.9.2-p136<br />
-&gt;ruby -v<br />
ruby 1.9.2p136 (2010-12-25 revision 30365) [x86_64-darwin10.6.0]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on What is your Zombie Escape Plan? by cody james serif</title>
		<link>http://ilikestuffblog.com/2008/04/16/what-is-your-zombie-escape-plan/#comment-1410</link>
		<dc:creator><![CDATA[cody james serif]]></dc:creator>
		<pubDate>Wed, 19 Jan 2011 03:24:35 +0000</pubDate>
		<guid isPermaLink="false">http://bmorearty.wordpress.com/?p=8#comment-1410</guid>
		<description><![CDATA[ahh yes the Zombie escape plan. me and my friends have talked for hours about this subject and came up with a solution for us number one when i awake and my family is eaten i wont be as i sleep with my door locked and un entrancable ( dont know why i sleep like that i just dont trust people note : i am not crazy  ) i will then use the sword to cut down my family so i can leave my house and drive away to my friends house he lives about a hour away in the middle of no where (after picking up my other friends some girls need to keep a good ratio if need survival) he also has guns because his parrents hunt i have hunted and delt with cleaning the animal ect so im used to blood guts and gore i am also a really good shot better than my friend but any way we will then take the guns and his dads porche to bass pro ( amazing place ) and grab more guns amo and food ( jerky, fills you up on not much of it) then drive to a docking station after tackticly clearing the place out of cource stealing a cruse ship ( lots of space and if at a docking station completly clear but still lots of food on board) and driving the boat to a deserted island to pick up dirt/soil,seeds for plants/fruits and also we will need some catel for meat. and just sailing every where after that becouse we will have every thing needed to survive for a long time ( ps i relized i wouldnt have enough fule in the tanks for this but just imagine that i stole some of that befor taking the ship)]]></description>
		<content:encoded><![CDATA[<p>ahh yes the Zombie escape plan. me and my friends have talked for hours about this subject and came up with a solution for us number one when i awake and my family is eaten i wont be as i sleep with my door locked and un entrancable ( dont know why i sleep like that i just dont trust people note : i am not crazy  ) i will then use the sword to cut down my family so i can leave my house and drive away to my friends house he lives about a hour away in the middle of no where (after picking up my other friends some girls need to keep a good ratio if need survival) he also has guns because his parrents hunt i have hunted and delt with cleaning the animal ect so im used to blood guts and gore i am also a really good shot better than my friend but any way we will then take the guns and his dads porche to bass pro ( amazing place ) and grab more guns amo and food ( jerky, fills you up on not much of it) then drive to a docking station after tackticly clearing the place out of cource stealing a cruse ship ( lots of space and if at a docking station completly clear but still lots of food on board) and driving the boat to a deserted island to pick up dirt/soil,seeds for plants/fruits and also we will need some catel for meat. and just sailing every where after that becouse we will have every thing needed to survive for a long time ( ps i relized i wouldnt have enough fule in the tanks for this but just imagine that i stole some of that befor taking the ship)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Teaching my 11-Year-Old Daughter to Program (in Ruby) by Teaching my 11-Year-Old Daughter to Program, Part 2 &#171; I like stuff.</title>
		<link>http://ilikestuffblog.com/2011/01/02/teaching-my-11-year-old-daughter-to-program-in-ruby/#comment-1402</link>
		<dc:creator><![CDATA[Teaching my 11-Year-Old Daughter to Program, Part 2 &#171; I like stuff.]]></dc:creator>
		<pubDate>Mon, 03 Jan 2011 04:50:09 +0000</pubDate>
		<guid isPermaLink="false">http://ilikestuffblog.com/?p=395#comment-1402</guid>
		<description><![CDATA[[...] I like stuff. Brian Morearty&#8217;s Blog      &#171; Teaching my 11-Year-Old Daughter to Program (in&#160;Ruby) [...]]]></description>
		<content:encoded><![CDATA[<p>[...] I like stuff. Brian Morearty&#8217;s Blog      &laquo; Teaching my 11-Year-Old Daughter to Program (in&nbsp;Ruby) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Teaching my 11-Year-Old Daughter to Program (in Ruby) by Brian Morearty</title>
		<link>http://ilikestuffblog.com/2011/01/02/teaching-my-11-year-old-daughter-to-program-in-ruby/#comment-1401</link>
		<dc:creator><![CDATA[Brian Morearty]]></dc:creator>
		<pubDate>Mon, 03 Jan 2011 03:27:55 +0000</pubDate>
		<guid isPermaLink="false">http://ilikestuffblog.com/?p=395#comment-1401</guid>
		<description><![CDATA[Sarah,

How funny that your son likes printing &quot;I love cheese&quot; in a loop--and that your little game language is called Pie--because after my daughter learned the &quot;puts&quot; method (but before learning that strings have to be quoted) she tried this:

  puts I like pie

I bet once she learns loops she&#039;ll be making infinite tributes to pie. 

The Pie language looks like fun. I like that you&#039;ve made it possible to do mobile as well as desktop.

I heard about your Kids&#039; Track at RubyConf when you announced it. Very cool.]]></description>
		<content:encoded><![CDATA[<p>Sarah,</p>
<p>How funny that your son likes printing &#8220;I love cheese&#8221; in a loop&#8211;and that your little game language is called Pie&#8211;because after my daughter learned the &#8220;puts&#8221; method (but before learning that strings have to be quoted) she tried this:</p>
<p>  puts I like pie</p>
<p>I bet once she learns loops she&#8217;ll be making infinite tributes to pie. </p>
<p>The Pie language looks like fun. I like that you&#8217;ve made it possible to do mobile as well as desktop.</p>
<p>I heard about your Kids&#8217; Track at RubyConf when you announced it. Very cool.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Teaching my 11-Year-Old Daughter to Program (in Ruby) by Eric Paxton</title>
		<link>http://ilikestuffblog.com/2011/01/02/teaching-my-11-year-old-daughter-to-program-in-ruby/#comment-1400</link>
		<dc:creator><![CDATA[Eric Paxton]]></dc:creator>
		<pubDate>Mon, 03 Jan 2011 02:30:46 +0000</pubDate>
		<guid isPermaLink="false">http://ilikestuffblog.com/?p=395#comment-1400</guid>
		<description><![CDATA[That&#039;s pretty awesome. Can&#039;t wait til my boys are old enough to learn to write code!]]></description>
		<content:encoded><![CDATA[<p>That&#8217;s pretty awesome. Can&#8217;t wait til my boys are old enough to learn to write code!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Teaching my 11-Year-Old Daughter to Program (in Ruby) by Sarah Allen</title>
		<link>http://ilikestuffblog.com/2011/01/02/teaching-my-11-year-old-daughter-to-program-in-ruby/#comment-1398</link>
		<dc:creator><![CDATA[Sarah Allen]]></dc:creator>
		<pubDate>Mon, 03 Jan 2011 00:10:36 +0000</pubDate>
		<guid isPermaLink="false">http://ilikestuffblog.com/?p=395#comment-1398</guid>
		<description><![CDATA[Chris Pine&#039;s Learn to Program book is great.  We use it in classes for grown-ups.  My son wasn&#039;t into all the reading in that book, but he loved playing in irb.  When I told him that he could name a variable anything, he enjoyed making potato = 4.  Also printing &quot;I love cheese&quot; in a loop never gets old.

He wanted to create a game with graphics, so I made a little language for web-based games. It&#039;s not done yet, but it still seems fun.  You can read about it here:  http://www.ultrasaurus.com/sarahblog/2010/11/pie-game-development-for-kids/

Good luck and definitely keep writing about your experience teaching!

Sarah]]></description>
		<content:encoded><![CDATA[<p>Chris Pine&#8217;s Learn to Program book is great.  We use it in classes for grown-ups.  My son wasn&#8217;t into all the reading in that book, but he loved playing in irb.  When I told him that he could name a variable anything, he enjoyed making potato = 4.  Also printing &#8220;I love cheese&#8221; in a loop never gets old.</p>
<p>He wanted to create a game with graphics, so I made a little language for web-based games. It&#8217;s not done yet, but it still seems fun.  You can read about it here:  <a href="http://www.ultrasaurus.com/sarahblog/2010/11/pie-game-development-for-kids/" rel="nofollow">http://www.ultrasaurus.com/sarahblog/2010/11/pie-game-development-for-kids/</a></p>
<p>Good luck and definitely keep writing about your experience teaching!</p>
<p>Sarah</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Teaching my 11-Year-Old Daughter to Program (in Ruby) by Ed Ruder</title>
		<link>http://ilikestuffblog.com/2011/01/02/teaching-my-11-year-old-daughter-to-program-in-ruby/#comment-1396</link>
		<dc:creator><![CDATA[Ed Ruder]]></dc:creator>
		<pubDate>Sun, 02 Jan 2011 08:40:04 +0000</pubDate>
		<guid isPermaLink="false">http://ilikestuffblog.com/?p=395#comment-1396</guid>
		<description><![CDATA[Very cool!

I have that book! I thought it was good, too. I&#039;m sure you&#039;ll have fun with Rosey as she learns to make computers do what she tells them to do!]]></description>
		<content:encoded><![CDATA[<p>Very cool!</p>
<p>I have that book! I thought it was good, too. I&#8217;m sure you&#8217;ll have fun with Rosey as she learns to make computers do what she tells them to do!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on What is your Zombie Escape Plan? by Danielley</title>
		<link>http://ilikestuffblog.com/2008/04/16/what-is-your-zombie-escape-plan/#comment-1393</link>
		<dc:creator><![CDATA[Danielley]]></dc:creator>
		<pubDate>Fri, 17 Dec 2010 22:15:49 +0000</pubDate>
		<guid isPermaLink="false">http://bmorearty.wordpress.com/?p=8#comment-1393</guid>
		<description><![CDATA[Me and my hubby decided the first thing we would do would gather up our three kids get all of our swords and knifes out of the garage load every one in the car go straight to the bass pro shop get as many guns and ammo we can carry and they go to the local costco, and close out selfs off there. that way we have plenty of food and water and possible power (well for at least a short time).]]></description>
		<content:encoded><![CDATA[<p>Me and my hubby decided the first thing we would do would gather up our three kids get all of our swords and knifes out of the garage load every one in the car go straight to the bass pro shop get as many guns and ammo we can carry and they go to the local costco, and close out selfs off there. that way we have plenty of food and water and possible power (well for at least a short time).</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on What is your Zombie Escape Plan? by jenifer</title>
		<link>http://ilikestuffblog.com/2008/04/16/what-is-your-zombie-escape-plan/#comment-994</link>
		<dc:creator><![CDATA[jenifer]]></dc:creator>
		<pubDate>Sun, 07 Nov 2010 15:08:47 +0000</pubDate>
		<guid isPermaLink="false">http://bmorearty.wordpress.com/?p=8#comment-994</guid>
		<description><![CDATA[I came here to get some ruby switch case syntax, but who could resist an article about a zombie escape plan?

This summer I found out how poorly prepared my 14 year old daughter was for the impending zombie apocalypse; when asked who she would want with her in case of a zombie virus outbreak she said Michael Jackson. Everyone knows he&#039;s the one most likely to BE a zombie.]]></description>
		<content:encoded><![CDATA[<p>I came here to get some ruby switch case syntax, but who could resist an article about a zombie escape plan?</p>
<p>This summer I found out how poorly prepared my 14 year old daughter was for the impending zombie apocalypse; when asked who she would want with her in case of a zombie virus outbreak she said Michael Jackson. Everyone knows he&#8217;s the one most likely to BE a zombie.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Ruby on Rails Bedtime Stories by How to Lazily Find All Records in Rails 3 with Arel &#171; I like stuff.</title>
		<link>http://ilikestuffblog.com/2010/09/23/ruby-on-rails-bedtime-stories/#comment-966</link>
		<dc:creator><![CDATA[How to Lazily Find All Records in Rails 3 with Arel &#171; I like stuff.]]></dc:creator>
		<pubDate>Sat, 30 Oct 2010 18:56:18 +0000</pubDate>
		<guid isPermaLink="false">http://ilikestuffblog.com/?p=352#comment-966</guid>
		<description><![CDATA[[...] Another alternative I recommend, which lets you do lazy execution queries in any version of Rails: move the queries to helper methods. [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Another alternative I recommend, which lets you do lazy execution queries in any version of Rails: move the queries to helper methods. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Ruby on Rails Bedtime Stories by Brian Morearty</title>
		<link>http://ilikestuffblog.com/2010/09/23/ruby-on-rails-bedtime-stories/#comment-965</link>
		<dc:creator><![CDATA[Brian Morearty]]></dc:creator>
		<pubDate>Sat, 30 Oct 2010 18:22:17 +0000</pubDate>
		<guid isPermaLink="false">http://ilikestuffblog.com/?p=352#comment-965</guid>
		<description><![CDATA[Another follow-up on the point about Arel and Rails 3: it turns out Rails 3&#039;s default generated controllers don&#039;t take advantage of Arel. They use .all and .find, neither of which does lazy execution of the query. If you&#039;re using those queries, you get the same benefit from my approach in Rails 3 as in Rails 2.

I&#039;ve updated the Rails 3 section above to mention this.]]></description>
		<content:encoded><![CDATA[<p>Another follow-up on the point about Arel and Rails 3: it turns out Rails 3&#8242;s default generated controllers don&#8217;t take advantage of Arel. They use .all and .find, neither of which does lazy execution of the query. If you&#8217;re using those queries, you get the same benefit from my approach in Rails 3 as in Rails 2.</p>
<p>I&#8217;ve updated the Rails 3 section above to mention this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Ruby on Rails Bedtime Stories by Brian Morearty</title>
		<link>http://ilikestuffblog.com/2010/09/23/ruby-on-rails-bedtime-stories/#comment-964</link>
		<dc:creator><![CDATA[Brian Morearty]]></dc:creator>
		<pubDate>Sat, 30 Oct 2010 18:08:35 +0000</pubDate>
		<guid isPermaLink="false">http://ilikestuffblog.com/?p=352#comment-964</guid>
		<description><![CDATA[doro, it&#039;s good to hear feedback from someone like you who has worked on a project for a while that used this technique. Your points are spot-on and they deserve a detailed response:

1. You said the action doesn&#039;t reveal what will happen when the request arrives. I agree that this is a problem. Having to trace through a bunch of html would be a pain. There are alternatives like using query_trace or New Relic but I get your point--nothing would be clearer than just seeing it right there in the controller and knowing what queries will be run for a given action. 

The problem is, that gives a false sense of security. Reading a controller action in Rails doesn&#039;t reveal what will happen when the request arrives. Even when people try to follow the rules and not write queries in views, It&#039;s common to show associations in a view without having joined or included the association in the controller. So the controller doesn&#039;t make it clear that more queries will be run. 

It&#039;s pretty easy for these queries to get out of hand. In the worst case I&#039;ve seen, the controller did just one query but by the time the view was rendered, 300 queries were performed--and that was just to build a site&#039;s nav bar (which was shown on every page). A programmer naively crawled the entire category tree in a helper function (in the helpers folder) without realizing each call to .parent or .children ran a db query.

It feels like I&#039;m saying &quot;it&#039;s already bad so it&#039;s ok to make it worse.&quot; Not exactly. If I knew a good fix that made all queries obvious in the controller, I might advocate that. But since I don&#039;t know one, I&#039;m trying to be pragmatic and say given the current landscape, let&#039;s see we we *can* solve some of its problems.

2. You said the name of these helper methods are like any other variable name. In this example “company”. You would prefer “get_company()”.  I see what you&#039;re saying but I&#039;m not yet convinced on this one. I was tempted to name the helper methods something like &quot;get_company()&quot; instead of just &quot;company,&quot; but it seemed like it goes too much against the Ruby naming pattern that&#039;s used for all accessors. Once someone has used Ruby for a bit they&#039;re probably going to know that &quot;company&quot; is either a variable or an accessor method, and if they don&#039;t see the variable declaration up above then it must be an accessor method. 

But you&#039;re right that a programmer who barely knows the code won&#039;t realize that the accessor method queries the db. As I mentioned above, I worry about that with ActiveRecord in general since it&#039;s not obvious which method calls will run queries. 

My answer is: it&#039;s still better than in the normal Rails pattern, where you still query the db to get the company even if you *never* reference &quot;company.&quot;

But hey, if readers want to use this pattern but call the helper method get_company() to make it more obvious, or leave off the parens and call it get_company, go for it. You&#039;ll still get the benefits I described in the post.

Summing up:

The Struts 2 project I work on for my day job uses the helper method approach that I describe in the post above. I waited six months before writing this post about doing it in Rails to make sure it was working out ok. So far we have not had problem #1 or #2 that you mentioned. (Yes, #2 is a potential problem even in Java because we&#039;re using OGNL script to call the accessors. So in the view it looks like &quot;company,&quot; not &quot;getCompany()&quot;.) But admittedly it&#039;s a team of three and we all know the code really well. We&#039;ll have to see what happens when more people join the team.

Thanks a lot for your insights.]]></description>
		<content:encoded><![CDATA[<p>doro, it&#8217;s good to hear feedback from someone like you who has worked on a project for a while that used this technique. Your points are spot-on and they deserve a detailed response:</p>
<p>1. You said the action doesn&#8217;t reveal what will happen when the request arrives. I agree that this is a problem. Having to trace through a bunch of html would be a pain. There are alternatives like using query_trace or New Relic but I get your point&#8211;nothing would be clearer than just seeing it right there in the controller and knowing what queries will be run for a given action. </p>
<p>The problem is, that gives a false sense of security. Reading a controller action in Rails doesn&#8217;t reveal what will happen when the request arrives. Even when people try to follow the rules and not write queries in views, It&#8217;s common to show associations in a view without having joined or included the association in the controller. So the controller doesn&#8217;t make it clear that more queries will be run. </p>
<p>It&#8217;s pretty easy for these queries to get out of hand. In the worst case I&#8217;ve seen, the controller did just one query but by the time the view was rendered, 300 queries were performed&#8211;and that was just to build a site&#8217;s nav bar (which was shown on every page). A programmer naively crawled the entire category tree in a helper function (in the helpers folder) without realizing each call to .parent or .children ran a db query.</p>
<p>It feels like I&#8217;m saying &#8220;it&#8217;s already bad so it&#8217;s ok to make it worse.&#8221; Not exactly. If I knew a good fix that made all queries obvious in the controller, I might advocate that. But since I don&#8217;t know one, I&#8217;m trying to be pragmatic and say given the current landscape, let&#8217;s see we we *can* solve some of its problems.</p>
<p>2. You said the name of these helper methods are like any other variable name. In this example “company”. You would prefer “get_company()”.  I see what you&#8217;re saying but I&#8217;m not yet convinced on this one. I was tempted to name the helper methods something like &#8220;get_company()&#8221; instead of just &#8220;company,&#8221; but it seemed like it goes too much against the Ruby naming pattern that&#8217;s used for all accessors. Once someone has used Ruby for a bit they&#8217;re probably going to know that &#8220;company&#8221; is either a variable or an accessor method, and if they don&#8217;t see the variable declaration up above then it must be an accessor method. </p>
<p>But you&#8217;re right that a programmer who barely knows the code won&#8217;t realize that the accessor method queries the db. As I mentioned above, I worry about that with ActiveRecord in general since it&#8217;s not obvious which method calls will run queries. </p>
<p>My answer is: it&#8217;s still better than in the normal Rails pattern, where you still query the db to get the company even if you *never* reference &#8220;company.&#8221;</p>
<p>But hey, if readers want to use this pattern but call the helper method get_company() to make it more obvious, or leave off the parens and call it get_company, go for it. You&#8217;ll still get the benefits I described in the post.</p>
<p>Summing up:</p>
<p>The Struts 2 project I work on for my day job uses the helper method approach that I describe in the post above. I waited six months before writing this post about doing it in Rails to make sure it was working out ok. So far we have not had problem #1 or #2 that you mentioned. (Yes, #2 is a potential problem even in Java because we&#8217;re using OGNL script to call the accessors. So in the view it looks like &#8220;company,&#8221; not &#8220;getCompany()&#8221;.) But admittedly it&#8217;s a team of three and we all know the code really well. We&#8217;ll have to see what happens when more people join the team.</p>
<p>Thanks a lot for your insights.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Ruby on Rails Bedtime Stories by doro</title>
		<link>http://ilikestuffblog.com/2010/09/23/ruby-on-rails-bedtime-stories/#comment-962</link>
		<dc:creator><![CDATA[doro]]></dc:creator>
		<pubDate>Sat, 30 Oct 2010 13:50:38 +0000</pubDate>
		<guid isPermaLink="false">http://ilikestuffblog.com/?p=352#comment-962</guid>
		<description><![CDATA[First, i worked on a project for along time and in some cases used this approach (some other team members used it). so i have experience with this.

Here is why i don&#039;t like this approach:

1. the action doesn&#039;t reveal what will happen when the request arrive.
if you look at the index action in the example you will see that it is empty. you need to read the view in order to understand what queries will be made or services will be called. 

this makes it harder to understand the flow and how to optimize or refactor it. you will need to find the view and look for names of methods mixed inside html, and you will also have to look in all the partials that are called. a messy job.

2. the name of these helper methods are like any other variable name. in this example &quot;company&quot;. i would prefer &quot;get_company()&quot;. 

i understand company is sweeter, but since ruby doesn&#039;t require you to use bracket, when a programmer who barely knows the code tries to solve a problem and see &quot;company.name&quot; his first thought is that company is an object variable, he doesn&#039;t suspect this might be a call to a method that query the db.]]></description>
		<content:encoded><![CDATA[<p>First, i worked on a project for along time and in some cases used this approach (some other team members used it). so i have experience with this.</p>
<p>Here is why i don&#8217;t like this approach:</p>
<p>1. the action doesn&#8217;t reveal what will happen when the request arrive.<br />
if you look at the index action in the example you will see that it is empty. you need to read the view in order to understand what queries will be made or services will be called. </p>
<p>this makes it harder to understand the flow and how to optimize or refactor it. you will need to find the view and look for names of methods mixed inside html, and you will also have to look in all the partials that are called. a messy job.</p>
<p>2. the name of these helper methods are like any other variable name. in this example &#8220;company&#8221;. i would prefer &#8220;get_company()&#8221;. </p>
<p>i understand company is sweeter, but since ruby doesn&#8217;t require you to use bracket, when a programmer who barely knows the code tries to solve a problem and see &#8220;company.name&#8221; his first thought is that company is an object variable, he doesn&#8217;t suspect this might be a call to a method that query the db.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Well, That Didn&#8217;t Last Long. Bye, SQLite. by Brian Morearty</title>
		<link>http://ilikestuffblog.com/2010/10/29/well-that-didnt-last-long-bye-sqlite3/#comment-961</link>
		<dc:creator><![CDATA[Brian Morearty]]></dc:creator>
		<pubDate>Fri, 29 Oct 2010 21:50:41 +0000</pubDate>
		<guid isPermaLink="false">http://ilikestuffblog.com/?p=373#comment-961</guid>
		<description><![CDATA[Andrew, did you switch to postgres for dev or use mysql or some other db? Just wondering how people&#039;s experiences are using different DBs for dev and prod. Installing postgres locally would be just one more thing to do since I already have mysql.]]></description>
		<content:encoded><![CDATA[<p>Andrew, did you switch to postgres for dev or use mysql or some other db? Just wondering how people&#8217;s experiences are using different DBs for dev and prod. Installing postgres locally would be just one more thing to do since I already have mysql.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Well, That Didn&#8217;t Last Long. Bye, SQLite. by Andrew</title>
		<link>http://ilikestuffblog.com/2010/10/29/well-that-didnt-last-long-bye-sqlite3/#comment-959</link>
		<dc:creator><![CDATA[Andrew]]></dc:creator>
		<pubDate>Fri, 29 Oct 2010 17:56:05 +0000</pubDate>
		<guid isPermaLink="false">http://ilikestuffblog.com/?p=373#comment-959</guid>
		<description><![CDATA[The case sensitivity difference of the &quot;LIKE&quot; command is what killed me doing the same sqlite (dev) heroku postgres (prod).]]></description>
		<content:encoded><![CDATA[<p>The case sensitivity difference of the &#8220;LIKE&#8221; command is what killed me doing the same sqlite (dev) heroku postgres (prod).</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to Truncate a Ruby Time Down to the Second, Minute, Hour, or Day by harrywood</title>
		<link>http://ilikestuffblog.com/2010/05/18/how-to-truncate-a-ruby-time-down-to-the-second-minute-hour-or-day/#comment-950</link>
		<dc:creator><![CDATA[harrywood]]></dc:creator>
		<pubDate>Wed, 27 Oct 2010 14:24:48 +0000</pubDate>
		<guid isPermaLink="false">http://bmorearty.wordpress.com/?p=312#comment-950</guid>
		<description><![CDATA[Another ActiveRecord feature is beginning_of_day method:

truncated_time = input_time.beginning_of_day


In pure ruby you can do it by going to an array and back:

time_array = input_time.to_a
time_array[0] = 0 #set seconds to zero
time_array[1] = 0 #set minutes to zero
time_array[2] = 0 #set hours to zero
truncated_time = Time.local *time_array


More information: http://stackoverflow.com/questions/912139/truncating-ruby-time-objects-efficiently]]></description>
		<content:encoded><![CDATA[<p>Another ActiveRecord feature is beginning_of_day method:</p>
<p>truncated_time = input_time.beginning_of_day</p>
<p>In pure ruby you can do it by going to an array and back:</p>
<p>time_array = input_time.to_a<br />
time_array[0] = 0 #set seconds to zero<br />
time_array[1] = 0 #set minutes to zero<br />
time_array[2] = 0 #set hours to zero<br />
truncated_time = Time.local *time_array</p>
<p>More information: <a href="http://stackoverflow.com/questions/912139/truncating-ruby-time-objects-efficiently" rel="nofollow">http://stackoverflow.com/questions/912139/truncating-ruby-time-objects-efficiently</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Ruby on Rails Bedtime Stories by Brian Morearty</title>
		<link>http://ilikestuffblog.com/2010/09/23/ruby-on-rails-bedtime-stories/#comment-725</link>
		<dc:creator><![CDATA[Brian Morearty]]></dc:creator>
		<pubDate>Wed, 29 Sep 2010 05:21:19 +0000</pubDate>
		<guid isPermaLink="false">http://ilikestuffblog.com/?p=352#comment-725</guid>
		<description><![CDATA[Thanks for pointing that out, Ben. 

The bad news is load_and_authorize just takes you back to the same old problem I was pointing out in the article. It proactively performs a query (in a before_filter) before knowing if the view will actually need the data. Then we&#039;re back to square one.

But your question brings up a great point: even without load_and_authorize_resource, calling authorize! in the controller (as I did in my article) causes a proactive query before knowing if the view will need the data. 

How do we work around this?  By authorizing the resource in the helper method instead of in a before_filter.  Try something like this:

[sourcecode language=&quot;ruby&quot;]
  def company
    return @company if defined? @company
    @company = Company.find(params[:id])
    authorize! params[:action].to_sym, @company
    @company
  end

  def companies
    return @companies if defined? @companies
    @companies = Company.all
    authorize! :read, @companies
    @companies
  end
[/sourcecode]

Feel free to DRY up this code.]]></description>
		<content:encoded><![CDATA[<p>Thanks for pointing that out, Ben. </p>
<p>The bad news is load_and_authorize just takes you back to the same old problem I was pointing out in the article. It proactively performs a query (in a before_filter) before knowing if the view will actually need the data. Then we&#8217;re back to square one.</p>
<p>But your question brings up a great point: even without load_and_authorize_resource, calling authorize! in the controller (as I did in my article) causes a proactive query before knowing if the view will need the data. </p>
<p>How do we work around this?  By authorizing the resource in the helper method instead of in a before_filter.  Try something like this:</p>
<pre class="brush: ruby;">
  def company
    return @company if defined? @company
    @company = Company.find(params[:id])
    authorize! params[:action].to_sym, @company
    @company
  end

  def companies
    return @companies if defined? @companies
    @companies = Company.all
    authorize! :read, @companies
    @companies
  end
</pre>
<p>Feel free to DRY up this code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Ruby on Rails Bedtime Stories by Ben</title>
		<link>http://ilikestuffblog.com/2010/09/23/ruby-on-rails-bedtime-stories/#comment-721</link>
		<dc:creator><![CDATA[Ben]]></dc:creator>
		<pubDate>Tue, 28 Sep 2010 20:47:41 +0000</pubDate>
		<guid isPermaLink="false">http://ilikestuffblog.com/?p=352#comment-721</guid>
		<description><![CDATA[Since you mentioned CanCan, I&#039;d like to also point out CanCan&#039;s helper:
`load_and_authorize_resource`.

In which the instance variable (e.g.- @article) will already have been loaded (and authorized for the user) before the &#039;show&#039; method gets called.

In this case, one can simplify the show action even more in your example (i.e. - empty).

I think I agree that even in this case, I&#039;d still use your suggested helper method access in the view. Thanks for the tip.]]></description>
		<content:encoded><![CDATA[<p>Since you mentioned CanCan, I&#8217;d like to also point out CanCan&#8217;s helper:<br />
`load_and_authorize_resource`.</p>
<p>In which the instance variable (e.g.- @article) will already have been loaded (and authorized for the user) before the &#8216;show&#8217; method gets called.</p>
<p>In this case, one can simplify the show action even more in your example (i.e. &#8211; empty).</p>
<p>I think I agree that even in this case, I&#8217;d still use your suggested helper method access in the view. Thanks for the tip.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Ruby on Rails Bedtime Stories by Helmut Juskewycz</title>
		<link>http://ilikestuffblog.com/2010/09/23/ruby-on-rails-bedtime-stories/#comment-718</link>
		<dc:creator><![CDATA[Helmut Juskewycz]]></dc:creator>
		<pubDate>Tue, 28 Sep 2010 18:27:23 +0000</pubDate>
		<guid isPermaLink="false">http://ilikestuffblog.com/?p=352#comment-718</guid>
		<description><![CDATA[Good read, thanks for the article. It definitely looks like viable option.

You can&#039;t use public methods to be accessible to the view because this visibility is reserved to routes (:controller/:action). However, I think it would be nice to have protected methods available in the view.

public =&gt; callable methods for routes
protected =&gt; available methods for controller, helpers, views
private =&gt; only available in controller, like the name suggests]]></description>
		<content:encoded><![CDATA[<p>Good read, thanks for the article. It definitely looks like viable option.</p>
<p>You can&#8217;t use public methods to be accessible to the view because this visibility is reserved to routes (:controller/:action). However, I think it would be nice to have protected methods available in the view.</p>
<p>public =&gt; callable methods for routes<br />
protected =&gt; available methods for controller, helpers, views<br />
private =&gt; only available in controller, like the name suggests</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Ruby on Rails Bedtime Stories by Brian Morearty</title>
		<link>http://ilikestuffblog.com/2010/09/23/ruby-on-rails-bedtime-stories/#comment-685</link>
		<dc:creator><![CDATA[Brian Morearty]]></dc:creator>
		<pubDate>Sun, 26 Sep 2010 02:00:59 +0000</pubDate>
		<guid isPermaLink="false">http://ilikestuffblog.com/?p=352#comment-685</guid>
		<description><![CDATA[Hmm, good question, James. You&#039;re right, it&#039;s an interesting choice that controller instance variables are accessible to the view by default but public methods are not.]]></description>
		<content:encoded><![CDATA[<p>Hmm, good question, James. You&#8217;re right, it&#8217;s an interesting choice that controller instance variables are accessible to the view by default but public methods are not.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Ruby on Rails Bedtime Stories by James</title>
		<link>http://ilikestuffblog.com/2010/09/23/ruby-on-rails-bedtime-stories/#comment-684</link>
		<dc:creator><![CDATA[James]]></dc:creator>
		<pubDate>Sun, 26 Sep 2010 00:44:59 +0000</pubDate>
		<guid isPermaLink="false">http://ilikestuffblog.com/?p=352#comment-684</guid>
		<description><![CDATA[I wonder why helper_method is required?  It would be nice if you could just control visibility with protected and private.  If instance variables are made available, why not methods?]]></description>
		<content:encoded><![CDATA[<p>I wonder why helper_method is required?  It would be nice if you could just control visibility with protected and private.  If instance variables are made available, why not methods?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Ruby on Rails Bedtime Stories by James</title>
		<link>http://ilikestuffblog.com/2010/09/23/ruby-on-rails-bedtime-stories/#comment-683</link>
		<dc:creator><![CDATA[James]]></dc:creator>
		<pubDate>Sun, 26 Sep 2010 00:29:44 +0000</pubDate>
		<guid isPermaLink="false">http://ilikestuffblog.com/?p=352#comment-683</guid>
		<description><![CDATA[Interesting post!  Definitely made me think.  The controller is just like any other class, so why not use it as such.]]></description>
		<content:encoded><![CDATA[<p>Interesting post!  Definitely made me think.  The controller is just like any other class, so why not use it as such.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Ruby on Rails Bedtime Stories by Brian Morearty</title>
		<link>http://ilikestuffblog.com/2010/09/23/ruby-on-rails-bedtime-stories/#comment-669</link>
		<dc:creator><![CDATA[Brian Morearty]]></dc:creator>
		<pubDate>Thu, 23 Sep 2010 19:10:06 +0000</pubDate>
		<guid isPermaLink="false">http://ilikestuffblog.com/?p=352#comment-669</guid>
		<description><![CDATA[Thanks for the link Allan. Yeah, as I mentioned in the post, Arel greatly reduces the need to use this pattern because it does lazy execution. You&#039;ll see the most benefit from this pattern in your Rails 2.x apps that don&#039;t use Arel.

I still think it&#039;s kind of a nice pattern to use even with Arel because it&#039;s more DRY than the typical pattern. I&#039;ve added a brief paragraph about that to the &quot;Does It Work in Rails 3?&quot; section above. But with Arel, the practical benefits of using this pattern might no longer outweigh the benefit of using the patterns every Rails developer is familiar with.]]></description>
		<content:encoded><![CDATA[<p>Thanks for the link Allan. Yeah, as I mentioned in the post, Arel greatly reduces the need to use this pattern because it does lazy execution. You&#8217;ll see the most benefit from this pattern in your Rails 2.x apps that don&#8217;t use Arel.</p>
<p>I still think it&#8217;s kind of a nice pattern to use even with Arel because it&#8217;s more DRY than the typical pattern. I&#8217;ve added a brief paragraph about that to the &#8220;Does It Work in Rails 3?&#8221; section above. But with Arel, the practical benefits of using this pattern might no longer outweigh the benefit of using the patterns every Rails developer is familiar with.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Ruby on Rails Bedtime Stories by Allan</title>
		<link>http://ilikestuffblog.com/2010/09/23/ruby-on-rails-bedtime-stories/#comment-668</link>
		<dc:creator><![CDATA[Allan]]></dc:creator>
		<pubDate>Thu, 23 Sep 2010 18:04:45 +0000</pubDate>
		<guid isPermaLink="false">http://ilikestuffblog.com/?p=352#comment-668</guid>
		<description><![CDATA[Just discovered this http://www.slideshare.net/brynary/arel-ruby-relational-algebra, see slide #29]]></description>
		<content:encoded><![CDATA[<p>Just discovered this <a href="http://www.slideshare.net/brynary/arel-ruby-relational-algebra" rel="nofollow">http://www.slideshare.net/brynary/arel-ruby-relational-algebra</a>, see slide #29</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Ruby on Rails Bedtime Stories by Brian Morearty</title>
		<link>http://ilikestuffblog.com/2010/09/23/ruby-on-rails-bedtime-stories/#comment-667</link>
		<dc:creator><![CDATA[Brian Morearty]]></dc:creator>
		<pubDate>Thu, 23 Sep 2010 16:18:30 +0000</pubDate>
		<guid isPermaLink="false">http://ilikestuffblog.com/?p=352#comment-667</guid>
		<description><![CDATA[Come to think of it, Kang, this approach makes the app&#039;s code more DRY than the conventional Rails approach even if you are not using caching. Because where you used to have this sprinkled throughout your controller:

  @company = Company.find(params[:id])

you now have it in only one place.]]></description>
		<content:encoded><![CDATA[<p>Come to think of it, Kang, this approach makes the app&#8217;s code more DRY than the conventional Rails approach even if you are not using caching. Because where you used to have this sprinkled throughout your controller:</p>
<p>  @company = Company.find(params[:id])</p>
<p>you now have it in only one place.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Ruby on Rails Bedtime Stories by Brian Morearty</title>
		<link>http://ilikestuffblog.com/2010/09/23/ruby-on-rails-bedtime-stories/#comment-666</link>
		<dc:creator><![CDATA[Brian Morearty]]></dc:creator>
		<pubDate>Thu, 23 Sep 2010 16:15:30 +0000</pubDate>
		<guid isPermaLink="false">http://ilikestuffblog.com/?p=352#comment-666</guid>
		<description><![CDATA[Allan, great question. You&#039;re right, the partial local is named the same as the helper method. I have tested it and fortunately it does work just fine, as you suspected. The locally scoped company variable in this example makes the helper function invisible.

In the &quot;render&quot; statement you would use company/companies instead of @company/@companies:

  render company    # used to be render @company
  render companies # used to be render @companies]]></description>
		<content:encoded><![CDATA[<p>Allan, great question. You&#8217;re right, the partial local is named the same as the helper method. I have tested it and fortunately it does work just fine, as you suspected. The locally scoped company variable in this example makes the helper function invisible.</p>
<p>In the &#8220;render&#8221; statement you would use company/companies instead of @company/@companies:</p>
<p>  render company    # used to be render @company<br />
  render companies # used to be render @companies</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Ruby on Rails Bedtime Stories by Brian Morearty</title>
		<link>http://ilikestuffblog.com/2010/09/23/ruby-on-rails-bedtime-stories/#comment-665</link>
		<dc:creator><![CDATA[Brian Morearty]]></dc:creator>
		<pubDate>Thu, 23 Sep 2010 15:41:48 +0000</pubDate>
		<guid isPermaLink="false">http://ilikestuffblog.com/?p=352#comment-665</guid>
		<description><![CDATA[Thanks, Kang. Does story #3 sound like something we saw on a project we worked on? ;-) 

This code is already just as DRY as the conventional Rails pattern. More DRY if you count the removal of the duplicate key logic for read_fragment and cache. My preference is just to leave the code as is rather than try to make it a plugin. I don&#039;t think a plugin would really help here.]]></description>
		<content:encoded><![CDATA[<p>Thanks, Kang. Does story #3 sound like something we saw on a project we worked on? ;-) </p>
<p>This code is already just as DRY as the conventional Rails pattern. More DRY if you count the removal of the duplicate key logic for read_fragment and cache. My preference is just to leave the code as is rather than try to make it a plugin. I don&#8217;t think a plugin would really help here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Ruby on Rails Bedtime Stories by Allan</title>
		<link>http://ilikestuffblog.com/2010/09/23/ruby-on-rails-bedtime-stories/#comment-664</link>
		<dc:creator><![CDATA[Allan]]></dc:creator>
		<pubDate>Thu, 23 Sep 2010 15:01:01 +0000</pubDate>
		<guid isPermaLink="false">http://ilikestuffblog.com/?p=352#comment-664</guid>
		<description><![CDATA[Does this technique work with partials and collections? I am thinking of how the partial local is named, in this case, company, conflicting with the controller method. It probably works just fine, but I haven&#039;t tested it.]]></description>
		<content:encoded><![CDATA[<p>Does this technique work with partials and collections? I am thinking of how the partial local is named, in this case, company, conflicting with the controller method. It probably works just fine, but I haven&#8217;t tested it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Ruby on Rails Bedtime Stories by Kang Chen</title>
		<link>http://ilikestuffblog.com/2010/09/23/ruby-on-rails-bedtime-stories/#comment-662</link>
		<dc:creator><![CDATA[Kang Chen]]></dc:creator>
		<pubDate>Thu, 23 Sep 2010 14:45:47 +0000</pubDate>
		<guid isPermaLink="false">http://ilikestuffblog.com/?p=352#comment-662</guid>
		<description><![CDATA[Nice read, thanks Brian! The only other thing left to do is to DRY that up even further and create a plugin =)]]></description>
		<content:encoded><![CDATA[<p>Nice read, thanks Brian! The only other thing left to do is to DRY that up even further and create a plugin =)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Find tests more easily in your Rails test.log by Christopher Pickslay</title>
		<link>http://ilikestuffblog.com/2008/06/18/find-tests-more-easily-in-your-testlog/#comment-654</link>
		<dc:creator><![CDATA[Christopher Pickslay]]></dc:creator>
		<pubDate>Sat, 18 Sep 2010 07:24:21 +0000</pubDate>
		<guid isPermaLink="false">http://bmorearty.wordpress.com/?p=19#comment-654</guid>
		<description><![CDATA[This rocks Brian. Thanks!]]></description>
		<content:encoded><![CDATA[<p>This rocks Brian. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Export Your iPhoto Library to a Folder Structure by Improvements to the iPhoto Export app &#171; I like stuff.</title>
		<link>http://ilikestuffblog.com/2010/07/07/export-your-iphoto-library-to-a-folder-structure/#comment-641</link>
		<dc:creator><![CDATA[Improvements to the iPhoto Export app &#171; I like stuff.]]></dc:creator>
		<pubDate>Sat, 04 Sep 2010 17:52:00 +0000</pubDate>
		<guid isPermaLink="false">http://bmorearty.wordpress.com/?p=326#comment-641</guid>
		<description><![CDATA[[...] Export&#160;app By Brian Morearty  In July I blogged about the script Derrick Childers wrote to export iPhoto events to folders. Yesterday, Mark Nottingham made some improvements to the script. The best change is that you can [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Export&nbsp;app By Brian Morearty  In July I blogged about the script Derrick Childers wrote to export iPhoto events to folders. Yesterday, Mark Nottingham made some improvements to the script. The best change is that you can [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to Distinguish a User-Aborted AJAX Call from an Error by DPrince</title>
		<link>http://ilikestuffblog.com/2009/11/30/how-to-distinguish-a-user-aborted-ajax-call-from-an-error/#comment-601</link>
		<dc:creator><![CDATA[DPrince]]></dc:creator>
		<pubDate>Thu, 22 Jul 2010 20:17:46 +0000</pubDate>
		<guid isPermaLink="false">http://bmorearty.wordpress.com/?p=255#comment-601</guid>
		<description><![CDATA[Very nice this is exactly what I was looking for and solves the issue nicely.]]></description>
		<content:encoded><![CDATA[<p>Very nice this is exactly what I was looking for and solves the issue nicely.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Fun with Ruby&#8217;s instance_eval and class_eval by Monitoring the AWS-S3 gem in RPM : Custom Instrumentation Part 2 &#171;</title>
		<link>http://ilikestuffblog.com/2009/01/09/fun-with-rubys-instance_eval-and-class_eval/#comment-597</link>
		<dc:creator><![CDATA[Monitoring the AWS-S3 gem in RPM : Custom Instrumentation Part 2 &#171;]]></dc:creator>
		<pubDate>Tue, 06 Jul 2010 23:19:35 +0000</pubDate>
		<guid isPermaLink="false">http://bmorearty.wordpress.com/?p=79#comment-597</guid>
		<description><![CDATA[[...] the original class file, as instance methods. If these eval methods still seem strange, check out Brian Morearty&#8217;s nice and simple blog post that demonstrates the differences between them. While we could just re-open the Bucket class and [...]]]></description>
		<content:encoded><![CDATA[<p>[...] the original class file, as instance methods. If these eval methods still seem strange, check out Brian Morearty&#8217;s nice and simple blog post that demonstrates the differences between them. While we could just re-open the Bucket class and [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Fun with Ruby&#8217;s instance_eval and class_eval by The &#34;Tech. Arch.&#34;</title>
		<link>http://ilikestuffblog.com/2009/01/09/fun-with-rubys-instance_eval-and-class_eval/#comment-594</link>
		<dc:creator><![CDATA[The &#34;Tech. Arch.&#34;]]></dc:creator>
		<pubDate>Mon, 07 Jun 2010 11:16:41 +0000</pubDate>
		<guid isPermaLink="false">http://bmorearty.wordpress.com/?p=79#comment-594</guid>
		<description><![CDATA[[...] Fun with Ruby’s instance_eval and class_eval (by Brian Morearty) [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Fun with Ruby’s instance_eval and class_eval (by Brian Morearty) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on What is your Zombie Escape Plan? by ZombieSurvivor</title>
		<link>http://ilikestuffblog.com/2008/04/16/what-is-your-zombie-escape-plan/#comment-589</link>
		<dc:creator><![CDATA[ZombieSurvivor]]></dc:creator>
		<pubDate>Wed, 05 May 2010 11:54:12 +0000</pubDate>
		<guid isPermaLink="false">http://bmorearty.wordpress.com/?p=8#comment-589</guid>
		<description><![CDATA[So you&#039;re going to have the internet are you ???
So people are going to find time whilst fighting off zombies to keep servers up and running.
GET A LIFE.
You&#039;re gonna have to learn to live without many things, food (for long periods) water for a time and all the comfots you&#039;re used to. Internet will; be one of the first things to go. Get yourself a radio (receiver at least and a transmitter if possible)]]></description>
		<content:encoded><![CDATA[<p>So you&#8217;re going to have the internet are you ???<br />
So people are going to find time whilst fighting off zombies to keep servers up and running.<br />
GET A LIFE.<br />
You&#8217;re gonna have to learn to live without many things, food (for long periods) water for a time and all the comfots you&#8217;re used to. Internet will; be one of the first things to go. Get yourself a radio (receiver at least and a transmitter if possible)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Now you can use obj.in?(array) instead of array.include?(obj) by Brian Morearty</title>
		<link>http://ilikestuffblog.com/2009/12/24/now-you-can-use-obj-inarray-instead-of-array-includeobj/#comment-587</link>
		<dc:creator><![CDATA[Brian Morearty]]></dc:creator>
		<pubDate>Thu, 15 Apr 2010 06:53:37 +0000</pubDate>
		<guid isPermaLink="false">http://bmorearty.wordpress.com/?p=269#comment-587</guid>
		<description><![CDATA[Ah, now I see what you were saying. Yeah, I&#039;d be a fan of Object#in? being defined in core Ruby too. In the meantime, since ri doesn&#039;t make it clear where it&#039;s defined or if it&#039;s even defined at all, I guess my gem will do for now.]]></description>
		<content:encoded><![CDATA[<p>Ah, now I see what you were saying. Yeah, I&#8217;d be a fan of Object#in? being defined in core Ruby too. In the meantime, since ri doesn&#8217;t make it clear where it&#8217;s defined or if it&#8217;s even defined at all, I guess my gem will do for now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Now you can use obj.in?(array) instead of array.include?(obj) by Gavin</title>
		<link>http://ilikestuffblog.com/2009/12/24/now-you-can-use-obj-inarray-instead-of-array-includeobj/#comment-586</link>
		<dc:creator><![CDATA[Gavin]]></dc:creator>
		<pubDate>Thu, 15 Apr 2010 05:47:06 +0000</pubDate>
		<guid isPermaLink="false">http://bmorearty.wordpress.com/?p=269#comment-586</guid>
		<description><![CDATA[The reason for my comment above is this: &quot;I noticed that typing ri Object#in? reveals that a similar method supposedly already exists on the Object type.&quot;

I realise you&#039;ve implemented it yourself -- and commend you on your good taste! -- but it existed on your system beforehand (as evidenced by ri) and I was just suggesting why that might be.

There&#039;s been discussion in the distant past about including this method in core Ruby.  I&#039;d be a fan of that.]]></description>
		<content:encoded><![CDATA[<p>The reason for my comment above is this: &#8220;I noticed that typing ri Object#in? reveals that a similar method supposedly already exists on the Object type.&#8221;</p>
<p>I realise you&#8217;ve implemented it yourself &#8212; and commend you on your good taste! &#8212; but it existed on your system beforehand (as evidenced by ri) and I was just suggesting why that might be.</p>
<p>There&#8217;s been discussion in the distant past about including this method in core Ruby.  I&#8217;d be a fan of that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Now you can use obj.in?(array) instead of array.include?(obj) by Brian Morearty</title>
		<link>http://ilikestuffblog.com/2009/12/24/now-you-can-use-obj-inarray-instead-of-array-includeobj/#comment-585</link>
		<dc:creator><![CDATA[Brian Morearty]]></dc:creator>
		<pubDate>Thu, 15 Apr 2010 03:06:02 +0000</pubDate>
		<guid isPermaLink="false">http://bmorearty.wordpress.com/?p=269#comment-585</guid>
		<description><![CDATA[Hi Gavin, Object#in? is what this post is about. Take a look again at the post and you&#039;ll see how to install it. If it still doesn&#039;t work or something&#039;s unclear, please do let me know.]]></description>
		<content:encoded><![CDATA[<p>Hi Gavin, Object#in? is what this post is about. Take a look again at the post and you&#8217;ll see how to install it. If it still doesn&#8217;t work or something&#8217;s unclear, please do let me know.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Now you can use obj.in?(array) instead of array.include?(obj) by Gavin</title>
		<link>http://ilikestuffblog.com/2009/12/24/now-you-can-use-obj-inarray-instead-of-array-includeobj/#comment-584</link>
		<dc:creator><![CDATA[Gavin]]></dc:creator>
		<pubDate>Thu, 15 Apr 2010 01:47:38 +0000</pubDate>
		<guid isPermaLink="false">http://bmorearty.wordpress.com/?p=269#comment-584</guid>
		<description><![CDATA[Object#in? must be defined in some gem you have installed.  Perhaps rails? facets? extensions?

It&#039;s unfortunate that ri doesn&#039;t tell you where it&#039;s defined.]]></description>
		<content:encoded><![CDATA[<p>Object#in? must be defined in some gem you have installed.  Perhaps rails? facets? extensions?</p>
<p>It&#8217;s unfortunate that ri doesn&#8217;t tell you where it&#8217;s defined.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on to_json =&gt; as_json? by Brian Morearty</title>
		<link>http://ilikestuffblog.com/2009/07/20/to_json-as_json/#comment-580</link>
		<dc:creator><![CDATA[Brian Morearty]]></dc:creator>
		<pubDate>Sun, 04 Apr 2010 18:03:30 +0000</pubDate>
		<guid isPermaLink="false">http://bmorearty.wordpress.com/?p=211#comment-580</guid>
		<description><![CDATA[Thanks for the good explanation, Jonathan Julian.]]></description>
		<content:encoded><![CDATA[<p>Thanks for the good explanation, Jonathan Julian.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on to_json =&gt; as_json? by jonathanjulian.com &#187; Rails to_json or as_json? - Jonathan Julian</title>
		<link>http://ilikestuffblog.com/2009/07/20/to_json-as_json/#comment-579</link>
		<dc:creator><![CDATA[jonathanjulian.com &#187; Rails to_json or as_json? - Jonathan Julian]]></dc:creator>
		<pubDate>Sun, 04 Apr 2010 17:16:58 +0000</pubDate>
		<guid isPermaLink="false">http://bmorearty.wordpress.com/?p=211#comment-579</guid>
		<description><![CDATA[[...] Brian Morearty &#8211; Rails was never Javaficated to begin with. So the answer is yes.       blog comments powered by Disqus  var disqus_url = [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Brian Morearty &#8211; Rails was never Javaficated to begin with. So the answer is yes.       blog comments powered by Disqus  var disqus_url = [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Now you can use obj.in?(array) instead of array.include?(obj) by Brian Morearty</title>
		<link>http://ilikestuffblog.com/2009/12/24/now-you-can-use-obj-inarray-instead-of-array-includeobj/#comment-567</link>
		<dc:creator><![CDATA[Brian Morearty]]></dc:creator>
		<pubDate>Mon, 01 Mar 2010 22:17:03 +0000</pubDate>
		<guid isPermaLink="false">http://bmorearty.wordpress.com/?p=269#comment-567</guid>
		<description><![CDATA[Thanks, Joel. Yes, it&#039;s small. The in? function is one line long. (But I wrote a bunch of tests.)]]></description>
		<content:encoded><![CDATA[<p>Thanks, Joel. Yes, it&#8217;s small. The in? function is one line long. (But I wrote a bunch of tests.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Now you can use obj.in?(array) instead of array.include?(obj) by Joel</title>
		<link>http://ilikestuffblog.com/2009/12/24/now-you-can-use-obj-inarray-instead-of-array-includeobj/#comment-566</link>
		<dc:creator><![CDATA[Joel]]></dc:creator>
		<pubDate>Mon, 01 Mar 2010 21:36:27 +0000</pubDate>
		<guid isPermaLink="false">http://bmorearty.wordpress.com/?p=269#comment-566</guid>
		<description><![CDATA[Nifty. Small (well, I haven&#039;t seen the source, don&#039;t hate me) projects like these that helps with tiny annoyances always make me happy. Less is more mostly accurate in coding. This doesn&#039;t even sacrifice any readability, I think it improves it!]]></description>
		<content:encoded><![CDATA[<p>Nifty. Small (well, I haven&#8217;t seen the source, don&#8217;t hate me) projects like these that helps with tiny annoyances always make me happy. Less is more mostly accurate in coding. This doesn&#8217;t even sacrifice any readability, I think it improves it!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Find tests more easily in your Rails test.log by Brian Morearty</title>
		<link>http://ilikestuffblog.com/2008/06/18/find-tests-more-easily-in-your-testlog/#comment-564</link>
		<dc:creator><![CDATA[Brian Morearty]]></dc:creator>
		<pubDate>Fri, 26 Feb 2010 19:08:03 +0000</pubDate>
		<guid isPermaLink="false">http://bmorearty.wordpress.com/?p=19#comment-564</guid>
		<description><![CDATA[The fix for Rails 2.x turned out to be a one-liner. I have corrected it in the post. 

I changed &quot;Test::Unit::TestCase&quot; to &quot;ActiveSupport::TestCase&quot;.

This fixes the error people were talking about in the comments: 
./test/unit/../test_helper.rb:42: undefined method `setup’ for Test::Unit::TestCase:Class (NoMethodError)]]></description>
		<content:encoded><![CDATA[<p>The fix for Rails 2.x turned out to be a one-liner. I have corrected it in the post. </p>
<p>I changed &#8220;Test::Unit::TestCase&#8221; to &#8220;ActiveSupport::TestCase&#8221;.</p>
<p>This fixes the error people were talking about in the comments:<br />
./test/unit/../test_helper.rb:42: undefined method `setup’ for Test::Unit::TestCase:Class (NoMethodError)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Fun with Ruby&#8217;s instance_eval and class_eval by Jeremy</title>
		<link>http://ilikestuffblog.com/2009/01/09/fun-with-rubys-instance_eval-and-class_eval/#comment-555</link>
		<dc:creator><![CDATA[Jeremy]]></dc:creator>
		<pubDate>Thu, 14 Jan 2010 23:12:19 +0000</pubDate>
		<guid isPermaLink="false">http://bmorearty.wordpress.com/?p=79#comment-555</guid>
		<description><![CDATA[Thanks, this was the perfect treatment that quickly gave me what I needed!]]></description>
		<content:encoded><![CDATA[<p>Thanks, this was the perfect treatment that quickly gave me what I needed!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on What is your Zombie Escape Plan? by Scott</title>
		<link>http://ilikestuffblog.com/2008/04/16/what-is-your-zombie-escape-plan/#comment-543</link>
		<dc:creator><![CDATA[Scott]]></dc:creator>
		<pubDate>Tue, 15 Dec 2009 03:51:39 +0000</pubDate>
		<guid isPermaLink="false">http://bmorearty.wordpress.com/?p=8#comment-543</guid>
		<description><![CDATA[I would head out on my boat with my kayaks on it, fishing poles, a raft, and matches.  Light a fire on the raft to boil water and cook fish.  (This is after I take the shotgun from my attic.)  Then finally i would go meet up with my friends on crab island; a small island with a population of about 40.]]></description>
		<content:encoded><![CDATA[<p>I would head out on my boat with my kayaks on it, fishing poles, a raft, and matches.  Light a fire on the raft to boil water and cook fish.  (This is after I take the shotgun from my attic.)  Then finally i would go meet up with my friends on crab island; a small island with a population of about 40.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to Distinguish a User-Aborted AJAX Call from an Error by Tom</title>
		<link>http://ilikestuffblog.com/2009/11/30/how-to-distinguish-a-user-aborted-ajax-call-from-an-error/#comment-528</link>
		<dc:creator><![CDATA[Tom]]></dc:creator>
		<pubDate>Tue, 01 Dec 2009 15:55:09 +0000</pubDate>
		<guid isPermaLink="false">http://bmorearty.wordpress.com/?p=255#comment-528</guid>
		<description><![CDATA[d00d! That is dope, gotsta have...]]></description>
		<content:encoded><![CDATA[<p>d00d! That is dope, gotsta have&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The Javafication of Ruby on Rails by Brian Candler</title>
		<link>http://ilikestuffblog.com/2009/05/21/the-javafication-of-ruby-on-rails/#comment-507</link>
		<dc:creator><![CDATA[Brian Candler]]></dc:creator>
		<pubDate>Thu, 12 Nov 2009 13:37:50 +0000</pubDate>
		<guid isPermaLink="false">http://bmorearty.wordpress.com/?p=201#comment-507</guid>
		<description><![CDATA[The JSON gem already has an API like this, but unfortunately loading active_support 2.3.4 breaks it :-(

&gt;&gt; require &#039;rubygems&#039;
=&gt; true
&gt;&gt; require &#039;json&#039;
=&gt; true
&gt;&gt; JSON.unparse({&quot;a&quot;=&gt;&quot;b&quot;})
=&gt; &quot;{\&quot;a\&quot;:\&quot;b\&quot;}&quot;
&gt;&gt; require &#039;active_support&#039;
=&gt; true
&gt;&gt; JSON.unparse({&quot;a&quot;=&gt;&quot;b&quot;})
NoMethodError: undefined method `[]&#039; for #
	from /var/lib/gems/1.8/gems/activesupport-2.3.4/lib/active_support/json/encoders/hash.rb:45:in `as_json&#039;
	from /var/lib/gems/1.8/gems/activesupport-2.3.4/lib/active_support/json/encoders/hash.rb:34:in `to_json&#039;
	from /var/lib/gems/1.8/gems/json-1.1.9/lib/json/common.rb:183:in `unparse&#039;
	from (irb):5
&gt;&gt;]]></description>
		<content:encoded><![CDATA[<p>The JSON gem already has an API like this, but unfortunately loading active_support 2.3.4 breaks it :-(</p>
<p>&gt;&gt; require &#8216;rubygems&#8217;<br />
=&gt; true<br />
&gt;&gt; require &#8216;json&#8217;<br />
=&gt; true<br />
&gt;&gt; JSON.unparse({&#8220;a&#8221;=&gt;&#8221;b&#8221;})<br />
=&gt; &#8220;{\&#8221;a\&#8221;:\&#8221;b\&#8221;}&#8221;<br />
&gt;&gt; require &#8216;active_support&#8217;<br />
=&gt; true<br />
&gt;&gt; JSON.unparse({&#8220;a&#8221;=&gt;&#8221;b&#8221;})<br />
NoMethodError: undefined method `[]&#8216; for #<br />
	from /var/lib/gems/1.8/gems/activesupport-2.3.4/lib/active_support/json/encoders/hash.rb:45:in `as_json&#8217;<br />
	from /var/lib/gems/1.8/gems/activesupport-2.3.4/lib/active_support/json/encoders/hash.rb:34:in `to_json&#8217;<br />
	from /var/lib/gems/1.8/gems/json-1.1.9/lib/json/common.rb:183:in `unparse&#8217;<br />
	from (irb):5<br />
&gt;&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to Put Rewrite Rules in Your Ruby Code, Not Your Web Server by josh susser</title>
		<link>http://ilikestuffblog.com/2009/11/04/put-mod_rewrite-in-your-ruby-code-not-your-web-server/#comment-504</link>
		<dc:creator><![CDATA[josh susser]]></dc:creator>
		<pubDate>Fri, 06 Nov 2009 03:28:37 +0000</pubDate>
		<guid isPermaLink="false">http://bmorearty.wordpress.com/?p=228#comment-504</guid>
		<description><![CDATA[Hey there, thanks for the mention.  I think the biggest difference between Rack::Rewrite (well, the one you mentioned, there are two of them) and Refraction is how they scale. Rack::Rewrite has a very limiting API, but Refraction can scale up to dealing with very complicated domain logic.  All the stuff you have to do with :if procs and whatnot seem quite complicated to me, and Refraction handles them much better in plain old Ruby syntax. Rack::Rewrite is probably a little bit simpler for simple cases, but Refraction will be a lot simpler for complicated ones.]]></description>
		<content:encoded><![CDATA[<p>Hey there, thanks for the mention.  I think the biggest difference between Rack::Rewrite (well, the one you mentioned, there are two of them) and Refraction is how they scale. Rack::Rewrite has a very limiting API, but Refraction can scale up to dealing with very complicated domain logic.  All the stuff you have to do with :if procs and whatnot seem quite complicated to me, and Refraction handles them much better in plain old Ruby syntax. Rack::Rewrite is probably a little bit simpler for simple cases, but Refraction will be a lot simpler for complicated ones.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to Put Rewrite Rules in Your Ruby Code, Not Your Web Server by Brian Morearty</title>
		<link>http://ilikestuffblog.com/2009/11/04/put-mod_rewrite-in-your-ruby-code-not-your-web-server/#comment-503</link>
		<dc:creator><![CDATA[Brian Morearty]]></dc:creator>
		<pubDate>Thu, 05 Nov 2009 16:48:19 +0000</pubDate>
		<guid isPermaLink="false">http://bmorearty.wordpress.com/?p=228#comment-503</guid>
		<description><![CDATA[Hi John,

That looks nice. You&#039;re right, it is more succinct.

And thanks for making me think more about it--I noticed a bug in my code when I read your post, and I think my bug made its way to your reply too. I&#039;ve corrected it in the post above. I was originally using /@(.+)/ as the regular expression but that rewrites URLs that have an @ sign in the middle. I changed it to %r{/@(.+)} (inserted a slash at the front and used %r to avoid having to escape the slash).

I&#039;m guessing the same thing would work in Rack::Rewrite.]]></description>
		<content:encoded><![CDATA[<p>Hi John,</p>
<p>That looks nice. You&#8217;re right, it is more succinct.</p>
<p>And thanks for making me think more about it&#8211;I noticed a bug in my code when I read your post, and I think my bug made its way to your reply too. I&#8217;ve corrected it in the post above. I was originally using /@(.+)/ as the regular expression but that rewrites URLs that have an @ sign in the middle. I changed it to %r{/@(.+)} (inserted a slash at the front and used %r to avoid having to escape the slash).</p>
<p>I&#8217;m guessing the same thing would work in Rack::Rewrite.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to Put Rewrite Rules in Your Ruby Code, Not Your Web Server by John Trupiano</title>
		<link>http://ilikestuffblog.com/2009/11/04/put-mod_rewrite-in-your-ruby-code-not-your-web-server/#comment-502</link>
		<dc:creator><![CDATA[John Trupiano]]></dc:creator>
		<pubDate>Thu, 05 Nov 2009 14:15:00 +0000</pubDate>
		<guid isPermaLink="false">http://bmorearty.wordpress.com/?p=228#comment-502</guid>
		<description><![CDATA[Hey Brian,

Brian, Rack::Rewrite has a development branch that will allow you to do everything that Refraction does more succinctly.  

As far as your example above, it&#039;s actually simpler with Rack::Rewrite (http://github.com/jtrupiano/rack-rewrite ):

&lt;pre&gt;
    config.middleware.insert_before(Rack::Lock, Rack::Rewrite) do
      rewrite /@(.+)/, &quot;/users/$1&quot;
    end
&lt;/pre&gt;]]></description>
		<content:encoded><![CDATA[<p>Hey Brian,</p>
<p>Brian, Rack::Rewrite has a development branch that will allow you to do everything that Refraction does more succinctly.  </p>
<p>As far as your example above, it&#8217;s actually simpler with Rack::Rewrite (<a href="http://github.com/jtrupiano/rack-rewrite" rel="nofollow">http://github.com/jtrupiano/rack-rewrite</a> ):</p>
<pre>
    config.middleware.insert_before(Rack::Lock, Rack::Rewrite) do
      rewrite /@(.+)/, "/users/$1"
    end
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Find tests more easily in your Rails test.log by Russ Kuhn</title>
		<link>http://ilikestuffblog.com/2008/06/18/find-tests-more-easily-in-your-testlog/#comment-499</link>
		<dc:creator><![CDATA[Russ Kuhn]]></dc:creator>
		<pubDate>Tue, 27 Oct 2009 16:02:05 +0000</pubDate>
		<guid isPermaLink="false">http://bmorearty.wordpress.com/?p=19#comment-499</guid>
		<description><![CDATA[As of Rails 2.3.4, if not earlier, @method_name is not supported and should be replaced with just name, as in

Rails::logger.info &quot;\n\nStarting #{name}\n#{&#039;-&#039; * (9 + @name.length)}\n&quot;]]></description>
		<content:encoded><![CDATA[<p>As of Rails 2.3.4, if not earlier, @method_name is not supported and should be replaced with just name, as in</p>
<p>Rails::logger.info &#8220;\n\nStarting #{name}\n#{&#8216;-&#8217; * (9 + @name.length)}\n&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on What is your Zombie Escape Plan? by cassie</title>
		<link>http://ilikestuffblog.com/2008/04/16/what-is-your-zombie-escape-plan/#comment-496</link>
		<dc:creator><![CDATA[cassie]]></dc:creator>
		<pubDate>Wed, 21 Oct 2009 22:16:20 +0000</pubDate>
		<guid isPermaLink="false">http://bmorearty.wordpress.com/?p=8#comment-496</guid>
		<description><![CDATA[i would go to the wlmart store, block the enterences and go back to the gun dep. and shoot the zombies or anyone trying to let zombies in. that way i would have food, internet, and a seat :) lol.....]]></description>
		<content:encoded><![CDATA[<p>i would go to the wlmart store, block the enterences and go back to the gun dep. and shoot the zombies or anyone trying to let zombies in. that way i would have food, internet, and a seat :) lol&#8230;..</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on What is your Zombie Escape Plan? by john knudsen</title>
		<link>http://ilikestuffblog.com/2008/04/16/what-is-your-zombie-escape-plan/#comment-494</link>
		<dc:creator><![CDATA[john knudsen]]></dc:creator>
		<pubDate>Tue, 13 Oct 2009 22:22:37 +0000</pubDate>
		<guid isPermaLink="false">http://bmorearty.wordpress.com/?p=8#comment-494</guid>
		<description><![CDATA[well i havent made one yet but im starting a zombie club at my school and for our first meeting we are discussing our best zombie escape plans :P]]></description>
		<content:encoded><![CDATA[<p>well i havent made one yet but im starting a zombie club at my school and for our first meeting we are discussing our best zombie escape plans :P</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Fun with Ruby&#8217;s instance_eval and class_eval by David</title>
		<link>http://ilikestuffblog.com/2009/01/09/fun-with-rubys-instance_eval-and-class_eval/#comment-492</link>
		<dc:creator><![CDATA[David]]></dc:creator>
		<pubDate>Wed, 09 Sep 2009 21:58:51 +0000</pubDate>
		<guid isPermaLink="false">http://bmorearty.wordpress.com/?p=79#comment-492</guid>
		<description><![CDATA[Well now then how do these things compare to define_method? :)]]></description>
		<content:encoded><![CDATA[<p>Well now then how do these things compare to define_method? :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to write case (switch) statements in Ruby by GetA</title>
		<link>http://ilikestuffblog.com/2008/04/15/how-to-write-case-switch-statements-in-ruby/#comment-491</link>
		<dc:creator><![CDATA[GetA]]></dc:creator>
		<pubDate>Wed, 09 Sep 2009 21:51:01 +0000</pubDate>
		<guid isPermaLink="false">http://bmorearty.wordpress.com/?p=5#comment-491</guid>
		<description><![CDATA[this is awesome!]]></description>
		<content:encoded><![CDATA[<p>this is awesome!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Intuit Community makes Business Week by Brian Morearty</title>
		<link>http://ilikestuffblog.com/2009/07/21/intuit-community-makes-business-week/#comment-489</link>
		<dc:creator><![CDATA[Brian Morearty]]></dc:creator>
		<pubDate>Fri, 28 Aug 2009 17:34:36 +0000</pubDate>
		<guid isPermaLink="false">http://bmorearty.wordpress.com/?p=213#comment-489</guid>
		<description><![CDATA[Hey, good to see you here Zach!]]></description>
		<content:encoded><![CDATA[<p>Hey, good to see you here Zach!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Intuit Community makes Business Week by Moneypenny</title>
		<link>http://ilikestuffblog.com/2009/07/21/intuit-community-makes-business-week/#comment-488</link>
		<dc:creator><![CDATA[Moneypenny]]></dc:creator>
		<pubDate>Fri, 28 Aug 2009 16:36:36 +0000</pubDate>
		<guid isPermaLink="false">http://bmorearty.wordpress.com/?p=213#comment-488</guid>
		<description><![CDATA[Hey man! I can&#039;t believe I didn&#039;t know (a) you had a dev blog and (b) that you&#039;re a ruby/rails fan! Nirvana!  This is going right on my RSS reader :)]]></description>
		<content:encoded><![CDATA[<p>Hey man! I can&#8217;t believe I didn&#8217;t know (a) you had a dev blog and (b) that you&#8217;re a ruby/rails fan! Nirvana!  This is going right on my RSS reader :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Fun with Ruby&#8217;s instance_eval and class_eval by rakesh</title>
		<link>http://ilikestuffblog.com/2009/01/09/fun-with-rubys-instance_eval-and-class_eval/#comment-487</link>
		<dc:creator><![CDATA[rakesh]]></dc:creator>
		<pubDate>Sat, 22 Aug 2009 15:16:06 +0000</pubDate>
		<guid isPermaLink="false">http://bmorearty.wordpress.com/?p=79#comment-487</guid>
		<description><![CDATA[Very beautifully explained. thanks. i was pretty confused before reading ur post]]></description>
		<content:encoded><![CDATA[<p>Very beautifully explained. thanks. i was pretty confused before reading ur post</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Add Optional SEO-Friendliness to link_to_remote by Tom</title>
		<link>http://ilikestuffblog.com/2009/04/02/link-to-remote-with-seo/#comment-486</link>
		<dc:creator><![CDATA[Tom]]></dc:creator>
		<pubDate>Tue, 18 Aug 2009 22:52:00 +0000</pubDate>
		<guid isPermaLink="false">http://bmorearty.wordpress.com/?p=141#comment-486</guid>
		<description><![CDATA[Hey Brian,

Good stuff. Here is the RESTful syntax:

[sourcecode language=&#039;python&#039;]
 link_to_seo_remote(event.name, { :update =&gt; &quot;#{dom_id(event)}_detail&quot;, :url =&gt; event_path(event), :method=&gt;:get, :complete =&gt; visual_effect(:slide_down, &quot;#{dom_id(event)}_detail&quot;) } )
[/sourcecode]]]></description>
		<content:encoded><![CDATA[<p>Hey Brian,</p>
<p>Good stuff. Here is the RESTful syntax:</p>
<pre class="brush: python;">
 link_to_seo_remote(event.name, { :update =&gt; &quot;#{dom_id(event)}_detail&quot;, :url =&gt; event_path(event), :method=&gt;:get, :complete =&gt; visual_effect(:slide_down, &quot;#{dom_id(event)}_detail&quot;) } )
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Fun with Ruby&#8217;s instance_eval and class_eval by Shamika</title>
		<link>http://ilikestuffblog.com/2009/01/09/fun-with-rubys-instance_eval-and-class_eval/#comment-480</link>
		<dc:creator><![CDATA[Shamika]]></dc:creator>
		<pubDate>Wed, 12 Aug 2009 18:54:11 +0000</pubDate>
		<guid isPermaLink="false">http://bmorearty.wordpress.com/?p=79#comment-480</guid>
		<description><![CDATA[Thanx  thanx wonderful explanation..... Short and clean]]></description>
		<content:encoded><![CDATA[<p>Thanx  thanx wonderful explanation&#8230;.. Short and clean</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to write case (switch) statements in Ruby by Joe</title>
		<link>http://ilikestuffblog.com/2008/04/15/how-to-write-case-switch-statements-in-ruby/#comment-479</link>
		<dc:creator><![CDATA[Joe]]></dc:creator>
		<pubDate>Tue, 11 Aug 2009 13:20:33 +0000</pubDate>
		<guid isPermaLink="false">http://bmorearty.wordpress.com/?p=5#comment-479</guid>
		<description><![CDATA[ahh, thank goodness for this post. The pickaxe was entirely opaque on this subject and I now know how to do if-else&#039;s neatly AND switches all with one structure.

Many thanks.]]></description>
		<content:encoded><![CDATA[<p>ahh, thank goodness for this post. The pickaxe was entirely opaque on this subject and I now know how to do if-else&#8217;s neatly AND switches all with one structure.</p>
<p>Many thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Dataflow: Erlang-Style Thread Safety in Ruby by Brian Morearty</title>
		<link>http://ilikestuffblog.com/2009/04/26/dataflow-erlang-style-thread-safety-in-ruby/#comment-469</link>
		<dc:creator><![CDATA[Brian Morearty]]></dc:creator>
		<pubDate>Fri, 24 Jul 2009 14:57:12 +0000</pubDate>
		<guid isPermaLink="false">http://bmorearty.wordpress.com/?p=182#comment-469</guid>
		<description><![CDATA[That&#039;s awesome. (Previous comment). Should be a big help.]]></description>
		<content:encoded><![CDATA[<p>That&#8217;s awesome. (Previous comment). Should be a big help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to write case (switch) statements in Ruby by Guido</title>
		<link>http://ilikestuffblog.com/2008/04/15/how-to-write-case-switch-statements-in-ruby/#comment-468</link>
		<dc:creator><![CDATA[Guido]]></dc:creator>
		<pubDate>Fri, 24 Jul 2009 13:47:28 +0000</pubDate>
		<guid isPermaLink="false">http://bmorearty.wordpress.com/?p=5#comment-468</guid>
		<description><![CDATA[Thanks, this is awesome :)

Did I mention that I love Rails?]]></description>
		<content:encoded><![CDATA[<p>Thanks, this is awesome :)</p>
<p>Did I mention that I love Rails?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Dataflow: Erlang-Style Thread Safety in Ruby by larrytheliquid</title>
		<link>http://ilikestuffblog.com/2009/04/26/dataflow-erlang-style-thread-safety-in-ruby/#comment-467</link>
		<dc:creator><![CDATA[larrytheliquid]]></dc:creator>
		<pubDate>Fri, 24 Jul 2009 06:03:15 +0000</pubDate>
		<guid isPermaLink="false">http://bmorearty.wordpress.com/?p=182#comment-467</guid>
		<description><![CDATA[As of Dataflow 0.2.0 unbound dataflow variables can be #inspect&#039;d without causing a thread sleep, which should ease debugging.]]></description>
		<content:encoded><![CDATA[<p>As of Dataflow 0.2.0 unbound dataflow variables can be #inspect&#8217;d without causing a thread sleep, which should ease debugging.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

