<?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>Rails on the Run &#187; hackfest</title>
	<atom:link href="http://railsontherun.com/tag/hackfest/feed/" rel="self" type="application/rss+xml" />
	<link>http://railsontherun.com</link>
	<description>Rails experiments by Matt Aimonetti</description>
	<lastBuildDate>Tue, 23 Feb 2010 07:28:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>WWR interview</title>
		<link>http://railsontherun.com/2007/07/20/wwr-interview/</link>
		<comments>http://railsontherun.com/2007/07/20/wwr-interview/#comments</comments>
		<pubDate>Fri, 20 Jul 2007 17:40:00 +0000</pubDate>
		<dc:creator>Matt Aimonetti</dc:creator>
				<category><![CDATA[Ruby]]></category>
		<category><![CDATA[consulting]]></category>
		<category><![CDATA[contest]]></category>
		<category><![CDATA[hackfest]]></category>
		<category><![CDATA[interview]]></category>
		<category><![CDATA[patch]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[wwr]]></category>

		<guid isPermaLink="false">http://railsontherun.com/2007/07/20/wwr-interview</guid>
		<description><![CDATA[Working with Rails published an interview they did of me , check it out]]></description>
			<content:encoded><![CDATA[<p><img src="http://myskitch.com/matt_a/working_with_rails_wwr_weblog_-_hackfest_winner_interview__matt_aimonetti-20070720-103949.jpg" alt="wwr itw"/></p>
<p><a href="http://workingwithrails.com">Working with Rails</a> published an interview they did of me , <a href="http://weblog.workingwithrails.com/2007/7/20/hackfest-winner-interview-matt-aimonetti"><em>check it out</em></a></p>
]]></content:encoded>
			<wfw:commentRss>http://railsontherun.com/2007/07/20/wwr-interview/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hackfest &#8211; June Results</title>
		<link>http://railsontherun.com/2007/07/03/hackfest-june-results/</link>
		<comments>http://railsontherun.com/2007/07/03/hackfest-june-results/#comments</comments>
		<pubDate>Tue, 03 Jul 2007 17:36:00 +0000</pubDate>
		<dc:creator>Matt Aimonetti</dc:creator>
				<category><![CDATA[Ruby]]></category>
		<category><![CDATA[contest]]></category>
		<category><![CDATA[contribution]]></category>
		<category><![CDATA[hackfest]]></category>
		<category><![CDATA[o\'reilly]]></category>
		<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">http://railsontherun.com/2007/07/03/hackfest-june-results</guid>
		<description><![CDATA[I received an email today from O&#8217;Reilly UK, letting me know that I won a book of my choosing Don&#8217;t believe that they are just emailing random people to offer them software development books (that would be cool though). O&#8217;Reilly is simply saying thank you for my contribution to the Rails core: If you also [...]]]></description>
			<content:encoded><![CDATA[<p>I received an email today from O&#8217;Reilly UK, letting me know that I won a book of my choosing <img src='http://railsontherun.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Don&#8217;t believe that they are just emailing random people to offer them software development books (that would be cool though). O&#8217;Reilly is simply saying thank you for my contribution to the Rails core:</p>
<p><img src="http://myskitch.com/matt_a/hackfest_-_june_07-20070703-103335.jpg" alt="results"/></p>
<p>If you also want to thank me (for anything you want, really), feel free to send me cheques, books, food, coupons/vouchers, cash, animals under 15 pounds but above 2 or plane tickets.</p>
]]></content:encoded>
			<wfw:commentRss>http://railsontherun.com/2007/07/03/hackfest-june-results/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Rails hackfest status update</title>
		<link>http://railsontherun.com/2007/06/26/rails-hackfest-status-update/</link>
		<comments>http://railsontherun.com/2007/06/26/rails-hackfest-status-update/#comments</comments>
		<pubDate>Tue, 26 Jun 2007 07:19:00 +0000</pubDate>
		<dc:creator>Matt Aimonetti</dc:creator>
				<category><![CDATA[Ruby]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[contest]]></category>
		<category><![CDATA[contribution]]></category>
		<category><![CDATA[hackfest]]></category>
		<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">http://railsontherun.com/2007/06/26/rails-hackfest-status-update</guid>
		<description><![CDATA[The Rails hackfest is a chance for people to be rewarded for contributing source code to Ruby On Rails. The value of their contributions are accumulated and the results charted. I&#8217;m honored to be listed as contributor number 4 few days before the end of the month. I know I got lucky with some of [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.railsontherun.com/assets/2007/6/26/hackfest-4.png" alt="Hackfest status 4 days before the end of the month"/></p>
<p>The <a href="http://www.workingwithrails.com/hackfest/12-monthly-june-2-7">Rails hackfest</a> is a chance for people to be rewarded for contributing source code to Ruby On Rails. The value of their contributions are accumulated and the results charted.</p>
<p>I&#8217;m honored to be listed as contributor number 4 few days before the end of the month.<br />
I know I got lucky with some of my patches getting merged in and that I might not be able to stay in the top 10, but I&#8217;m still glad I was able to help.</p>
]]></content:encoded>
			<wfw:commentRss>http://railsontherun.com/2007/06/26/rails-hackfest-status-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hackfest</title>
		<link>http://railsontherun.com/2007/06/22/hackfest/</link>
		<comments>http://railsontherun.com/2007/06/22/hackfest/#comments</comments>
		<pubDate>Fri, 22 Jun 2007 06:21:00 +0000</pubDate>
		<dc:creator>Matt Aimonetti</dc:creator>
				<category><![CDATA[Ruby]]></category>
		<category><![CDATA[community]]></category>
		<category><![CDATA[contest]]></category>
		<category><![CDATA[contribution]]></category>
		<category><![CDATA[hackfest]]></category>
		<category><![CDATA[team]]></category>

		<guid isPermaLink="false">http://railsontherun.com/2007/06/22/hackfest</guid>
		<description><![CDATA[What a pleasant surprise to see that I made it to the top 10 of workingwithrails.com hackfest I know it&#8217;s not fair that my patch got merged in while other people (Josh Knowles for instance) have outstanding patches waiting to be merged in so he could get in front of me Hopefully my other patch [...]]]></description>
			<content:encoded><![CDATA[<p>What a pleasant surprise to see that I made it to the top 10 of <a href="http://www.workingwithrails.com/hackfest/">workingwithrails.com hackfest</a></p>
<p><img src="http://www.railsontherun.com/assets/2007/6/22/hackfest-topmonth_2.png" alt="Hackfest: June top 10"/></p>
<p>I know it&#8217;s not fair that my patch got merged in while other people (<a href="http://joshknowles.com">Josh Knowles</a> for instance) have outstanding patches waiting to be merged in so he could get in front of me <img src='http://railsontherun.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Hopefully my <a href="http://dev.rubyonrails.org/ticket/8701">other patch</a> will be merged in before the end of June and I&#8217;ll be able to stay in the top ten. But for some reason I doubt that would happen and that&#8217;s why I took a screenshot <img src='http://railsontherun.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://railsontherun.com/2007/06/22/hackfest/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create a Rails Edge / RSpec project</title>
		<link>http://railsontherun.com/2007/06/06/create-a-rails-edge-rspec-project/</link>
		<comments>http://railsontherun.com/2007/06/06/create-a-rails-edge-rspec-project/#comments</comments>
		<pubDate>Wed, 06 Jun 2007 19:34:00 +0000</pubDate>
		<dc:creator>Matt Aimonetti</dc:creator>
				<category><![CDATA[Ruby]]></category>
		<category><![CDATA[autotest]]></category>
		<category><![CDATA[BDD]]></category>
		<category><![CDATA[edge]]></category>
		<category><![CDATA[growl]]></category>
		<category><![CDATA[hackfest]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[RSpec]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[TDD]]></category>
		<category><![CDATA[texmate]]></category>
		<category><![CDATA[zentest]]></category>

		<guid isPermaLink="false">http://railsontherun.com/2007/06/06/create-a-rails-edge-rspec-project</guid>
		<description><![CDATA[Recently I helped few people moving to Rails Edge and start using RSpec. I realized that I learned few tricks and even if for me everything seemed quite simple, things are not that simple when you recently started with Rails. This would work on Mac and Linux, sorry Windows users, you&#8217;ll have to slightly change [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I helped few people moving to <a href="http://dev.rubyonrails.org/">Rails Edge</a> and start using <a href="http://rspec.rubyforge.org">RSpec</a>. I realized that I learned few tricks and even if for me everything seemed quite simple, things are not that simple when you recently started with Rails.</p>
<p>This would work on Mac and Linux, sorry Windows users, you&#8217;ll have to slightly change the code below.</p>
<h1>Live on the Edge</h1>
<p>This is actually a bit tricky but it was very well covered by <a href="http://addictedtonew.com/about/">John Nunemaker</a> in <a href="http://railstips.org/2007/5/31/even-edgier-than-edge-rails">this post</a></p>
<p>To sum John&#8217;s post:</p>
<p>Create a normal rails project:</p>
<pre><code>$ rails my_project
$ cd my_project

$ rake rails:freeze:edge
</code></pre>
<p>(or use checkout edge in the vendor folder)</p>
<pre><code>$ cd ..
$ ruby my_project/vendor/rails/railties/bin/rails my_edgie_project
</code></pre>
<p>You now have have a real Edge project called my<em>edgie</em>project. You can delete the my_project folder since we only used it to create our real edge project.</p>
<p>Now, we are not really done since we need to add the Edge files into our vendor folder so we don&#8217;t use our local rails gem.</p>
<p>I would refer to another post from John, that you can find <a href="http://railstips.org/2007/3/5/my-local-rails-setup">there</a></p>
<pre><code>$ mkdir ~/rails
$ cd ~/rails
$ svn co http://dev.rubyonrails.com/svn/rails/trunk .
</code></pre>
<p>We just created a rails folder called rails in our home folder and we checked out edge/trunk in it.<br />
Now let&#8217;s go in our Rails app and setup a symlink to the trunk folder we just created.</p>
<pre><code>$ cd ~/rails_projects/my_edgie_project
$ ln -s ~/rails/trunk vendor/rails
</code></pre>
<p>If you are using subversion, you can ignore the symlink so it doesnâ€™t try to version it:</p>
<pre><code>$ svn propset svn:ignore "rails" vendor/
$ svn commit -m "using new sweet rails setup as recommended by John Nunemaker"
$ svn up
</code></pre>
<p><a href="http://railstips.org/2007/3/5/my-local-rails-setup">Read more</a> for advanced settings etc&#8230;</p>
<h1>Install RSpec</h1>
<p>Very straight forward, you just need to follow <a href="http://rspec.rubyforge.org/documentation/rails/install.html">the documentation</a></p>
<pre><code>$ cd ~/rails_projects/my_edgie_project
$ ruby script/plugin install svn://rubyforge.org/var/svn/rspec/tags/CURRENT/rspec
$ ruby script/plugin install svn://rubyforge.org/var/svn/rspec/tags/CURRENT/rspec_on_rails
</code></pre>
<p>If you have TextMate, you might want to download the <a href="http://rubyforge.org/frs/?group_id=797">latest RSpec-X.Y.Z.tmbundle.tgz Bundle</a></p>
<p>Next thing you want to do is to install <a href="http://www.zenspider.com/ZSS/Products/ZenTest/">ZenTest</a></p>
<pre><code>$ sudo gem install ZenTest
</code></pre>
<p>Make sure you install all the required packages.</p>
<p>If you are using <a href="http://growl.info/">Growl</a> create a new file called .autotest in your home directory:</p>
<pre><code>$mate ~./autotest
</code></pre>
<p>and add the following 2 lines to be warned when your specs/examples fail/pass</p>
<pre><code>require 'autotest/redgreen'
require 'autotest/growl'
</code></pre>
<p>Now, lets go back to our project and create a model using the rspec scaffold (it uses scaffold_resource generator and create all the specs for you)</p>
<pre><code>$ cd ~/rails_projects/my_edgie_project
$ ruby script/generate rspec_scaffold User first_name:string last_name:string :age:integer
</code></pre>
<p>Now, let&#8217;s start autotest (from zentest) so out code is tested in the background</p>
<pre><code>$ autotest
</code></pre>
<p>There you go, really to modify your RSpec examples, make them fail, fix your code, examples should pass, refactor your code and start again <img src='http://railsontherun.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://railsontherun.com/2007/06/06/create-a-rails-edge-rspec-project/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

