<?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>ideas.each &#38;:post &#187; gotcha</title>
	<atom:link href="http://blog.tobiascrawley.net/tag/gotcha/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.tobiascrawley.net</link>
	<description>Another not so cleverly named blog mostly about software.</description>
	<lastBuildDate>Fri, 28 May 2010 13:56:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>method_missing tip</title>
		<link>http://blog.tobiascrawley.net/2009/03/12/method_missing-tip/</link>
		<comments>http://blog.tobiascrawley.net/2009/03/12/method_missing-tip/#comments</comments>
		<pubDate>Thu, 12 Mar 2009 20:33:00 +0000</pubDate>
		<dc:creator>Tobias</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[gotcha]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://blog.tobiascrawley.net/?p=150</guid>
		<description><![CDATA[When using ruby&#8217;s method_missing, don&#8217;t alter the method parameter before calling super (you are calling super, aren&#8217;t you?). Otherwise, you will get a very clear exception: ArgumentError: no id given Thanks to google and Nicholas Schlueter for the tip.]]></description>
			<content:encoded><![CDATA[<p>When using ruby&#8217;s <code>method_missing</code>, don&#8217;t alter the <code>method</code> parameter before calling <code>super</code> (you are calling <code>super</code>, aren&#8217;t you?). Otherwise, you will get a very clear exception:</p>


<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">  <span style="color:#CC00FF; font-weight:bold;">ArgumentError</span>: no id given</pre></div></div>




<p>Thanks to google and <a href="http://www.simpltry.com/2007/10/15/hooplas-involving-method_missing-tricks/">Nicholas Schlueter</a> for the tip.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.tobiascrawley.net/2009/03/12/method_missing-tip/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
