<?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/"
	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>Erik On Rails</title>
	<atom:link href="http://erikonrails.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://erikonrails.wordpress.com</link>
	<description>One developer's experiences learning Ruby on Rails</description>
	<lastBuildDate>Wed, 22 Oct 2008 23:12:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='erikonrails.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Erik On Rails</title>
		<link>http://erikonrails.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://erikonrails.wordpress.com/osd.xml" title="Erik On Rails" />
	<atom:link rel='hub' href='http://erikonrails.wordpress.com/?pushpress=hub'/>
		<item>
		<title>rake spec runs twice</title>
		<link>http://erikonrails.wordpress.com/2008/10/22/rake-spec-runs-twice/</link>
		<comments>http://erikonrails.wordpress.com/2008/10/22/rake-spec-runs-twice/#comments</comments>
		<pubDate>Wed, 22 Oct 2008 23:12:58 +0000</pubDate>
		<dc:creator>Erik Pukinskis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://erikonrails.wordpress.com/?p=52</guid>
		<description><![CDATA[If you are seeing your specs running twice, it might be because you have an extra rakefile in your project. In my case deleting lib/tasks/rspec.rake solved the problem.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=erikonrails.wordpress.com&amp;blog=552208&amp;post=52&amp;subd=erikonrails&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you are seeing your specs running twice, it might be because you have an extra rakefile in your project.  In my case deleting lib/tasks/rspec.rake solved the problem.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/erikonrails.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/erikonrails.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/erikonrails.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/erikonrails.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/erikonrails.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/erikonrails.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/erikonrails.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/erikonrails.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/erikonrails.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/erikonrails.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/erikonrails.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/erikonrails.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/erikonrails.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/erikonrails.wordpress.com/52/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=erikonrails.wordpress.com&amp;blog=552208&amp;post=52&amp;subd=erikonrails&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://erikonrails.wordpress.com/2008/10/22/rake-spec-runs-twice/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6015f1c7d2c5057f668f4951f3303b28?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">epukinsk</media:title>
		</media:content>
	</item>
		<item>
		<title>Moved</title>
		<link>http://erikonrails.wordpress.com/2008/10/09/moved/</link>
		<comments>http://erikonrails.wordpress.com/2008/10/09/moved/#comments</comments>
		<pubDate>Thu, 09 Oct 2008 23:10:08 +0000</pubDate>
		<dc:creator>Erik Pukinskis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://erikonrails.wordpress.com/?p=46</guid>
		<description><![CDATA[If anyone is following this stuff, I&#8217;ve moved this blog over to my own domain: erikonrails.snowedin.net That way I have more control over the presentation. WordPress.com sucks for displaying code in your blog.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=erikonrails.wordpress.com&amp;blog=552208&amp;post=46&amp;subd=erikonrails&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If anyone is following this stuff, I&#8217;ve moved this blog over to my own domain:</p>
<p><a href="http://erikonrails.snowedin.net">erikonrails.snowedin.net</a></p>
<p>That way I have more control over the presentation.  WordPress.com sucks for displaying code in your blog.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/erikonrails.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/erikonrails.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/erikonrails.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/erikonrails.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/erikonrails.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/erikonrails.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/erikonrails.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/erikonrails.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/erikonrails.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/erikonrails.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/erikonrails.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/erikonrails.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/erikonrails.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/erikonrails.wordpress.com/46/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=erikonrails.wordpress.com&amp;blog=552208&amp;post=46&amp;subd=erikonrails&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://erikonrails.wordpress.com/2008/10/09/moved/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6015f1c7d2c5057f668f4951f3303b28?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">epukinsk</media:title>
		</media:content>
	</item>
		<item>
		<title>login_required NoMethodError due to not including AuthenticatedSystem module</title>
		<link>http://erikonrails.wordpress.com/2008/10/07/login_required-nomethoderror-due-to-not-including-authenticatedsystem-module/</link>
		<comments>http://erikonrails.wordpress.com/2008/10/07/login_required-nomethoderror-due-to-not-including-authenticatedsystem-module/#comments</comments>
		<pubDate>Wed, 08 Oct 2008 03:39:12 +0000</pubDate>
		<dc:creator>Erik Pukinskis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://erikonrails.wordpress.com/?p=40</guid>
		<description><![CDATA[This post moved here.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=erikonrails.wordpress.com&amp;blog=552208&amp;post=40&amp;subd=erikonrails&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This post moved <a href="http://erikonrails.snowedin.net/?p=22">here</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/erikonrails.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/erikonrails.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/erikonrails.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/erikonrails.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/erikonrails.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/erikonrails.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/erikonrails.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/erikonrails.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/erikonrails.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/erikonrails.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/erikonrails.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/erikonrails.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/erikonrails.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/erikonrails.wordpress.com/40/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=erikonrails.wordpress.com&amp;blog=552208&amp;post=40&amp;subd=erikonrails&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://erikonrails.wordpress.com/2008/10/07/login_required-nomethoderror-due-to-not-including-authenticatedsystem-module/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6015f1c7d2c5057f668f4951f3303b28?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">epukinsk</media:title>
		</media:content>
	</item>
		<item>
		<title>Missing users method means your fixtures aren&#8217;t getting loaded</title>
		<link>http://erikonrails.wordpress.com/2008/10/07/35/</link>
		<comments>http://erikonrails.wordpress.com/2008/10/07/35/#comments</comments>
		<pubDate>Tue, 07 Oct 2008 22:01:18 +0000</pubDate>
		<dc:creator>Erik Pukinskis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://erikonrails.wordpress.com/?p=35</guid>
		<description><![CDATA[This post moved here<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=erikonrails.wordpress.com&amp;blog=552208&amp;post=35&amp;subd=erikonrails&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This post moved <a href="http://erikonrails.snowedin.net/?p=21">here</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/erikonrails.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/erikonrails.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/erikonrails.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/erikonrails.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/erikonrails.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/erikonrails.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/erikonrails.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/erikonrails.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/erikonrails.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/erikonrails.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/erikonrails.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/erikonrails.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/erikonrails.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/erikonrails.wordpress.com/35/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=erikonrails.wordpress.com&amp;blog=552208&amp;post=35&amp;subd=erikonrails&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://erikonrails.wordpress.com/2008/10/07/35/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6015f1c7d2c5057f668f4951f3303b28?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">epukinsk</media:title>
		</media:content>
	</item>
		<item>
		<title>Restful Authentication plugin and AASM</title>
		<link>http://erikonrails.wordpress.com/2008/10/07/restful-authentication-plugin-and-aasm/</link>
		<comments>http://erikonrails.wordpress.com/2008/10/07/restful-authentication-plugin-and-aasm/#comments</comments>
		<pubDate>Tue, 07 Oct 2008 21:11:56 +0000</pubDate>
		<dc:creator>Erik Pukinskis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://erikonrails.wordpress.com/?p=33</guid>
		<description><![CDATA[This post moved here<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=erikonrails.wordpress.com&amp;blog=552208&amp;post=33&amp;subd=erikonrails&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This post moved <a href="http://erikonrails.snowedin.net/?p=20">here</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/erikonrails.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/erikonrails.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/erikonrails.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/erikonrails.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/erikonrails.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/erikonrails.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/erikonrails.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/erikonrails.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/erikonrails.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/erikonrails.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/erikonrails.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/erikonrails.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/erikonrails.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/erikonrails.wordpress.com/33/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=erikonrails.wordpress.com&amp;blog=552208&amp;post=33&amp;subd=erikonrails&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://erikonrails.wordpress.com/2008/10/07/restful-authentication-plugin-and-aasm/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6015f1c7d2c5057f668f4951f3303b28?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">epukinsk</media:title>
		</media:content>
	</item>
		<item>
		<title>Testing to see if a page exists</title>
		<link>http://erikonrails.wordpress.com/2008/09/17/testing-to-see-if-a-page-exists/</link>
		<comments>http://erikonrails.wordpress.com/2008/09/17/testing-to-see-if-a-page-exists/#comments</comments>
		<pubDate>Thu, 18 Sep 2008 00:43:49 +0000</pubDate>
		<dc:creator>Erik Pukinskis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[net::http]]></category>
		<category><![CDATA[rspec]]></category>

		<guid isPermaLink="false">http://erikonrails.wordpress.com/?p=31</guid>
		<description><![CDATA[This post moved here<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=erikonrails.wordpress.com&amp;blog=552208&amp;post=31&amp;subd=erikonrails&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This post moved <a href="http://erikonrails.snowedin.net/?p=19">here</a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/erikonrails.wordpress.com/31/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/erikonrails.wordpress.com/31/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/erikonrails.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/erikonrails.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/erikonrails.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/erikonrails.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/erikonrails.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/erikonrails.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/erikonrails.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/erikonrails.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/erikonrails.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/erikonrails.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/erikonrails.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/erikonrails.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/erikonrails.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/erikonrails.wordpress.com/31/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=erikonrails.wordpress.com&amp;blog=552208&amp;post=31&amp;subd=erikonrails&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://erikonrails.wordpress.com/2008/09/17/testing-to-see-if-a-page-exists/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6015f1c7d2c5057f668f4951f3303b28?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">epukinsk</media:title>
		</media:content>
	</item>
		<item>
		<title>Rspec front-end</title>
		<link>http://erikonrails.wordpress.com/2008/07/17/rspec-front-end/</link>
		<comments>http://erikonrails.wordpress.com/2008/07/17/rspec-front-end/#comments</comments>
		<pubDate>Thu, 17 Jul 2008 19:13:57 +0000</pubDate>
		<dc:creator>Erik Pukinskis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://erikonrails.wordpress.com/?p=25</guid>
		<description><![CDATA[This post moved here<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=erikonrails.wordpress.com&amp;blog=552208&amp;post=25&amp;subd=erikonrails&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This post moved <a href="http://erikonrails.snowedin.net/?p=18">here</a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/erikonrails.wordpress.com/25/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/erikonrails.wordpress.com/25/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/erikonrails.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/erikonrails.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/erikonrails.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/erikonrails.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/erikonrails.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/erikonrails.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/erikonrails.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/erikonrails.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/erikonrails.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/erikonrails.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/erikonrails.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/erikonrails.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/erikonrails.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/erikonrails.wordpress.com/25/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=erikonrails.wordpress.com&amp;blog=552208&amp;post=25&amp;subd=erikonrails&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://erikonrails.wordpress.com/2008/07/17/rspec-front-end/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6015f1c7d2c5057f668f4951f3303b28?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">epukinsk</media:title>
		</media:content>
	</item>
		<item>
		<title>Psuedocode for server management scripts</title>
		<link>http://erikonrails.wordpress.com/2008/05/11/psuedocode-for-server-management-scripts/</link>
		<comments>http://erikonrails.wordpress.com/2008/05/11/psuedocode-for-server-management-scripts/#comments</comments>
		<pubDate>Mon, 12 May 2008 06:51:12 +0000</pubDate>
		<dc:creator>Erik Pukinskis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://erikonrails.wordpress.com/?p=24</guid>
		<description><![CDATA[Along the lines of my post on the Forkolator blog on how to set up the server architecture, I&#8217;ve written out some pseudocode for scripts that I think would handle the mongrel servers and the nginx load balancer properly: % start_nginx get all mongrels from database create nginx conf start nginx % start_mongrels testproject production [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=erikonrails.wordpress.com&amp;blog=552208&amp;post=24&amp;subd=erikonrails&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Along the lines of my <a href="http://forkolator.org/blog/?p=9">post</a> on the Forkolator blog on how to set up the server architecture, I&#8217;ve written out some pseudocode for scripts that I think would handle the mongrel servers and the nginx load balancer properly:</p>
<p>% start_nginx<br />
  get all mongrels from database<br />
  create nginx conf<br />
  start nginx</p>
<p>% start_mongrels testproject production 2<br />
  mongrel start get_a_free_port()<br />
  insert mongrel<br />
    pid=278112<br />
    port=8004<br />
    servername=testproject.forkolator.org<br />
    app=testproject<br />
    environment=production<br />
  mongrel start get_a_free_port()<br />
  insert mongrel &#8230;<br />
  mark server for refresh</p>
<p>% start_mongrels testproject development 1<br />
&#8230;</p>
<p>% reload_nginx (runs as a daemon)<br />
  get all mongrels from database<br />
  create nginx conf<br />
  reload nginx conf</p>
<p>% stop_mongrels testproject production<br />
  find the mongrel processes<br />
  kill them<br />
  remove them from the database<br />
  mark the server for refresh</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/erikonrails.wordpress.com/24/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/erikonrails.wordpress.com/24/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/erikonrails.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/erikonrails.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/erikonrails.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/erikonrails.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/erikonrails.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/erikonrails.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/erikonrails.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/erikonrails.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/erikonrails.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/erikonrails.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/erikonrails.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/erikonrails.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/erikonrails.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/erikonrails.wordpress.com/24/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=erikonrails.wordpress.com&amp;blog=552208&amp;post=24&amp;subd=erikonrails&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://erikonrails.wordpress.com/2008/05/11/psuedocode-for-server-management-scripts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6015f1c7d2c5057f668f4951f3303b28?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">epukinsk</media:title>
		</media:content>
	</item>
		<item>
		<title>How to get Gitorious running on your own server</title>
		<link>http://erikonrails.wordpress.com/2008/05/11/how-to-get-gitorious-running-on-your-own-server/</link>
		<comments>http://erikonrails.wordpress.com/2008/05/11/how-to-get-gitorious-running-on-your-own-server/#comments</comments>
		<pubDate>Sun, 11 May 2008 14:16:33 +0000</pubDate>
		<dc:creator>Erik Pukinskis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[gitorious]]></category>

		<guid isPermaLink="false">http://erikonrails.wordpress.com/?p=19</guid>
		<description><![CDATA[This is everything I&#8217;ve figured out so far about how to get Gitorious up and running on your own server. It&#8217;s not everything yet, but it&#8217;s a lot of stuff. OK, so first you want to install the dependencies. I think this are all of them, assuming you&#8217;ve installed the basic rails stuff: apt-get install [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=erikonrails.wordpress.com&amp;blog=552208&amp;post=19&amp;subd=erikonrails&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is everything I&#8217;ve figured out so far about how to get <a href="http://gitorious.org/">Gitorious</a> up and running on your own server.  It&#8217;s not everything yet, but it&#8217;s a lot of stuff.</p>
<p>OK, so first you want to install the dependencies.  I think this are all of them, assuming you&#8217;ve installed the basic rails stuff:</p>
<pre style="font-size:1.4em;overflow:auto;border-left:1em solid #666;background-color:#444;color:#DDD;padding:0 0 0 1em;">apt-get install librmagick-ruby libonig-dev
gem install mime-types oniguruma textpow chronic BlueCloth</pre>
<p>Then make a place for Gitorious and download the code:</p>
<pre style="font-size:1.4em;overflow:auto;border-left:1em solid #666;background-color:#444;color:#DDD;padding:0 0 0 1em;">mkdir /path/for/gitorious; cd /path/for/gitorious
git clone git://gitorious.org/gitorious/mainline.git
cd mainline</pre>
<p>It&#8217;s a good idea at this point to read the HACKING file for informational purposes.</p>
<p>The next thing we need to do is create a git user.  This will be the user that gets used for SSH connections, running the task queue, and servering the repositories over HTTP:</p>
<pre style="font-size:1.4em;overflow:auto;border-left:1em solid #666;background-color:#444;color:#DDD;padding:0 0 0 1em;">adduser git</pre>
<p>Once we&#8217;ve created a user, we can create a place for your git repositories.  It has to be owned by the git user, and if you want people to be able to clone over HTTP, it has to be web-accessible.  That means your web server has to be running as the git user:</p>
<pre style="font-size:1.4em;overflow:auto;border-left:1em solid #666;background-color:#444;color:#DDD;padding:0 0 0 1em;">mkdir /path/to/repos
chown git:git /path/to/repos</pre>
<p>You are going to need to add your database settings and gitorious configuration.  Start with:</p>
<pre style="font-size:1.4em;overflow:auto;border-left:1em solid #666;background-color:#444;color:#DDD;padding:0 0 0 1em;">cp config/gitorious.sample.yml config/gitorious.yml
nano config/gitorious.yml;</pre>
<p>&#8230; and put in the necessary info.  Next put in the database information:</p>
<pre style="font-size:1.4em;overflow:auto;border-left:1em solid #666;background-color:#444;color:#DDD;padding:0 0 0 1em;">cp config/database.sample.yml config/database.yml
nano config/database.yml</pre>
<p>I called my databases gitorious_development, gitorious_production, and gitorious_test, and I set up a gitorious user in mysql with a fancy password.  At this point you want to create the development databases, and then you can start the server:</p>
<pre style="font-size:1.4em;overflow:auto;border-left:1em solid #666;background-color:#444;color:#DDD;padding:0 0 0 1em;">rake db:migrate
script/server</pre>
<p>You should now have the gitorious app running on http://localhost:3000 or wherever you specified in gitorious.yml.  Give it a look in your web browser.  If you want the server to run in the background, kill the current process (CTRL+C) and then run:</p>
<pre style="font-size:1.4em;overflow:auto;border-left:1em solid #666;background-color:#444;color:#DDD;padding:0 0 0 1em;">nohup script/server &amp;</pre>
<p>That will start the server up in a separate process and spit the output into nohup.out.  You can try creating a user account through the web interface.  If you don&#8217;t get an activation email, there&#8217;s something screwy with your mail server. I had to patch Gitorious to use a SMTP server, but that&#8217;s a separate post.  As a workaround, just go into your gitorious_production database, find your account in the users table, and copy the date in the &#8220;created_at&#8221; column into the &#8220;activated_at&#8221; column. </p>
<p>Now you should be able to log in, create a project, and add your SSH public key to your profile.  Unfortunately, Gitorious is going to tell you that your key and your project are being created, but they won&#8217;t get created without some more intervention.  </p>
<p>In order to create the keys and the repositories, you have to set up a separate process that does those tasks regularly.  Gitorious has a script set up for this purpose in script/task_performer.  Go ahead and run that script, making sure that you run as the &#8220;git&#8221; user and that you set the correct rails environment.  So if you are working in the development environment, run:</p>
<pre style="font-size:1.4em;overflow:auto;border-left:1em solid #666;background-color:#444;color:#DDD;padding:0 0 0 1em;">su git
RAILS_ENV=development script/task_performer</pre>
<p>That will create the repositories and add the keys to /home/git/.ssh/authorized_keys.  The authorized_keys file also specifies that before users can be authenticated for git push over SSH, the command &#8220;gitorious blah&#8221; needs to run (where blah is the users&#8217;s username).  Except there is no gitorious command in the git user&#8217;s path.  So let&#8217;s link it up:</p>
<pre style="font-size:1.4em;overflow:auto;border-left:1em solid #666;background-color:#444;color:#DDD;padding:0 0 0 1em;">ln -s RAILS_ROOT/script/gitorious /bin/gitorious</pre>
<p>Now if you return to Gitorious, you should see that your keys and repositories have been created.  You may want to stick that task_performer script in a cron job&#8230; or write a little script that will run it repeatedly in the background.  </p>
<p>At this point, you should be able to do a git push (which goes over SSH) and a git clone over http, assuming your repositories are in a web accessible folder.  In order to do git clones, you have to start the git daemon.  Gitorious has a script for this, but again make sure to run as the git user:</p>
<pre style="font-size:1.4em;overflow:auto;border-left:1em solid #666;background-color:#444;color:#DDD;padding:0 0 0 1em;">su git
nohup script/git-daemon &amp;</pre>
<p>And now you should be able to do git:// clones too.  </p>
<p><strong>What&#8217;s left to do:</strong></p>
<ul>
<li>I haven&#8217;t configured ultrasphinx, so search doesn&#8217;t work.</li>
<li>I haven&#8217;t set up script/graph_generator, so there are no graphs.</li>
<li>I have no idea what script/fixup_hooks does.  It might be important.</li>
</ul>
<p>Thanks pygi and teknofire in #gitorious on irc.freenode.net for helpful pointers.  Thanks Johan for <a href="http://groups.google.com/group/gitorious/browse_thread/thread/48b7ba20d5aa8eff">guidance</a> on getting ssh working correctly for git push.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/erikonrails.wordpress.com/19/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/erikonrails.wordpress.com/19/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/erikonrails.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/erikonrails.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/erikonrails.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/erikonrails.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/erikonrails.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/erikonrails.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/erikonrails.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/erikonrails.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/erikonrails.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/erikonrails.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/erikonrails.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/erikonrails.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/erikonrails.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/erikonrails.wordpress.com/19/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=erikonrails.wordpress.com&amp;blog=552208&amp;post=19&amp;subd=erikonrails&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://erikonrails.wordpress.com/2008/05/11/how-to-get-gitorious-running-on-your-own-server/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6015f1c7d2c5057f668f4951f3303b28?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">epukinsk</media:title>
		</media:content>
	</item>
		<item>
		<title>How to slice up tests</title>
		<link>http://erikonrails.wordpress.com/2008/05/07/how-to-slice-up-tests/</link>
		<comments>http://erikonrails.wordpress.com/2008/05/07/how-to-slice-up-tests/#comments</comments>
		<pubDate>Thu, 08 May 2008 00:23:20 +0000</pubDate>
		<dc:creator>Erik Pukinskis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[tdd]]></category>

		<guid isPermaLink="false">http://erikonrails.wordpress.com/?p=20</guid>
		<description><![CDATA[One of the hardest things about test driven development is choosing how to slice up your tests. Do you do unit tests (trying to isolate one unit of code) or integrating tests (checking to see that it all works together to lead to some positive outcome)? I guess you do both, but I still don&#8217;t [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=erikonrails.wordpress.com&amp;blog=552208&amp;post=20&amp;subd=erikonrails&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>One of the hardest things about test driven development is choosing how to slice up your tests.  Do you do unit tests (trying to isolate one unit of code) or integrating tests (checking to see that it all works together to lead to some positive outcome)?  </p>
<p>I guess you do both, but I still don&#8217;t have good instincts about what to do when.  Zach Dennis <a href="http://rubyforge.org/pipermail/rspec-users/2008-May/007044.html">responded</a> to a post I sent to the rspec-users mailing list giving me some good advice about the test I wrote about <a href="/2008/05/07/how-to-use-mock-objects/">here</a>.</p>
<p>I&#8217;m starting to think my first test should really be to send an email and then see if it got there.  Unfortunately, email takes minutes to deliver, and how long should the test suite wait?  Maybe I should just give up on testing this component.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/erikonrails.wordpress.com/20/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/erikonrails.wordpress.com/20/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/erikonrails.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/erikonrails.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/erikonrails.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/erikonrails.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/erikonrails.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/erikonrails.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/erikonrails.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/erikonrails.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/erikonrails.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/erikonrails.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/erikonrails.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/erikonrails.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/erikonrails.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/erikonrails.wordpress.com/20/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=erikonrails.wordpress.com&amp;blog=552208&amp;post=20&amp;subd=erikonrails&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://erikonrails.wordpress.com/2008/05/07/how-to-slice-up-tests/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6015f1c7d2c5057f668f4951f3303b28?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">epukinsk</media:title>
		</media:content>
	</item>
	</channel>
</rss>
