<?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>Hank Beaver &#187; troubleshooting</title>
	<atom:link href="http://www.hankbeaver.com/index.php/tag/troubleshooting/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hankbeaver.com</link>
	<description>Open-source, Internet technologist who works for MaxMedia located in Atlanta, GA, USA</description>
	<lastBuildDate>Tue, 09 Aug 2011 18:20:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Coding/Developing Rails troubleshooting 101</title>
		<link>http://www.hankbeaver.com/index.php/2008/01/29/codingdeveloping-rails-troubleshooting-101/</link>
		<comments>http://www.hankbeaver.com/index.php/2008/01/29/codingdeveloping-rails-troubleshooting-101/#comments</comments>
		<pubDate>Tue, 29 Jan 2008 18:19:58 +0000</pubDate>
		<dc:creator>hbeaver</dc:creator>
				<category><![CDATA[OSX]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[101]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[troubleshooting]]></category>

		<guid isPermaLink="false">http://1000fires.com/wordpress/?p=28</guid>
		<description><![CDATA[All the Agile folks would say if you run/create your tests you might not even get this far. However, that&#8217;s not always reality for me.
1. &#8216;tail -f /development.log&#8217;
If you are on OSX, the above is easy.
On Windows, I&#8217;d suggest looking at Cygwin and getting tail working. It&#8217;s worth it.
a) open terminal.
b) Clear the screen before [...]]]></description>
			<content:encoded><![CDATA[<p>All the Agile folks would say if you run/create your tests you might not even get this far. However, that&#8217;s not always reality for me.</p>
<p>1. &#8216;tail -f /development.log&#8217;</p>
<p>If you are on OSX, the above is easy.<br />
On Windows, I&#8217;d suggest looking at Cygwin and getting tail working. It&#8217;s worth it.</p>
<p>a) open terminal.<br />
b) Clear the screen before you reattempt what is broken. (Use Apple + K on OSX)<br />
c) Stop tail right after getting the error (CTRL + C)<br />
d) Look for the first line that is not normal Rails and debug output. See next area.</p>
<p>2. Skip all the fluff and go for Ruby errors. You will learn to see &#8220;stacktraces&#8221; and errors in Ruby/Rails after a little practice.</p>
<p>They will look something akin to this:</p>
<p>1)An error<br />
2)The file that the error occurred in&#8230;<br />
3)the line number/and problem code&#8230;<br />
4)A sample of the code at and around the error.<br />
&#8230;<br />
5) A bunch of code that was run prior to this happening.</p>
<p>3. Did you recently change the file in question? If so, revert what you did?</p>
<p>4. Use logger.debug to print out something right before the error to see if your code is making it that far.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hankbeaver.com/index.php/2008/01/29/codingdeveloping-rails-troubleshooting-101/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

