<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>billpratt.net &#187; Ruby</title>
	<atom:link href="http://www.billpratt.net/index.php/category/computers/software-development/ruby/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.billpratt.net</link>
	<description>Ruby on Rails development, photography, poison bottles and more.</description>
	<lastBuildDate>Sat, 20 Dec 2008 00:10:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Expected things_controller.rb to define ThingsController</title>
		<link>http://www.billpratt.net/index.php/2008/03/10/expected-things_controllerrb-to-define-thingscontroller/</link>
		<comments>http://www.billpratt.net/index.php/2008/03/10/expected-things_controllerrb-to-define-thingscontroller/#comments</comments>
		<pubDate>Mon, 10 Mar 2008 19:02:06 +0000</pubDate>
		<dc:creator>Bill</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://www.billpratt.net/index.php/2008/03/10/expected-things_controllerrb-to-define-thingscontroller/</guid>
		<description><![CDATA[ 	Well, I had fun with this rather obscure error today. The basics are simple, for some reason, app/controllers/things_controller.rb could not be loaded or did not supply the expected class ThingsController. One common cause of this is that the helper for this controller is mistakenly named in singular form instead of plural. In the case [...]]]></description>
			<content:encoded><![CDATA[<p> 	Well, I had fun with this rather obscure error today. The basics are simple, for some reason, app/controllers/things_controller.rb could not be loaded or did not supply the expected class ThingsController. One common cause of this is that the helper for this controller is mistakenly named in singular form instead of plural. In the case of app/controllers/things_controller.rb, make sure app/helpers/things_helper.rb is not named thing_helper.rb and that the module it is supplying is named ThingsHelper and not ThingHelper. It is ok if the helper does not exist at all. This error is sometimes even more difficult to debug in the case of a misnamed helper because it can appear to be intermittent. The problem will only occur when a method defined in the helper is called due to lazy instantiation.</p>
<p>I hope this helps someone. As always, comments are welcome.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.billpratt.net/index.php/2008/03/10/expected-things_controllerrb-to-define-thingscontroller/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Design Patterns in Ruby</title>
		<link>http://www.billpratt.net/index.php/2008/02/23/design-patterns-in-ruby/</link>
		<comments>http://www.billpratt.net/index.php/2008/02/23/design-patterns-in-ruby/#comments</comments>
		<pubDate>Sat, 23 Feb 2008 19:55:26 +0000</pubDate>
		<dc:creator>Bill</dc:creator>
				<category><![CDATA[Books]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://www.billpratt.net/index.php/2008/02/23/design-patterns-in-ruby/</guid>
		<description><![CDATA[ 	If you are a Ruby nut like I am or you are just beginning in the language, I highly recommend Russ Olsen&#8217;s Design Patterns in Ruby.  The book covers many of the original &#8220;Gang of Four&#8221; patterns from the classic book Design Patterns but it applies all of the Ruby magic that is inherent [...]]]></description>
			<content:encoded><![CDATA[<p> 	<img src="http://www.billpratt.net/wp-content/uploads/2008/12/design_patterns_in_ruby.jpg" alt="" width="115" height="115" class="left" />If you are a Ruby nut like I am or you are just beginning in the language, I highly recommend Russ Olsen&#8217;s <a href="http://www.amazon.com/Design-Patterns-Ruby-Russ-Olsen/dp/0321490452" title="Design Patterns in Ruby on Amazon" target="_blank">Design Patterns in Ruby</a>.  The book covers many of the original &#8220;Gang of Four&#8221; patterns from the classic book <a href="http://http://www.amazon.com/Design-Patterns-Object-Oriented-Addison-Wesley-Professional/dp/0201633612/ref=pd_bbs_sr_1?ie=UTF8&amp;s=books&amp;qid=1203795890&amp;sr=1-1" title="Design Patterns on Amazon" target="_blank">Design Patterns</a> but it applies all of the Ruby magic that is inherent in the language.  For those new to Ruby, this is not really a starters book, but it does have a simple introduction to the language that would suffice for those with development experience in other languages, especially object oriented languages.  The examples in the book are well thought out and include enough detail to allow the reader to understand the pattern in full, without going too far which could obscure the point of the example.  Congratulation Russ, this is a fantastic book.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.billpratt.net/index.php/2008/02/23/design-patterns-in-ruby/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
