<?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>Nomadicoder &#187; programming</title>
	<atom:link href="http://nomadicoder.com/taxonomy/tags/computers/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://nomadicoder.com</link>
	<description>Coding wherever I happen to be</description>
	<lastBuildDate>Sun, 22 Aug 2010 17:00:54 +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>Quick RVM Rubinius 1.0.0 Install Recipe</title>
		<link>http://nomadicoder.com/2010/05/25/quick-rvm-rubinius-1-0-0-install-recipe/</link>
		<comments>http://nomadicoder.com/2010/05/25/quick-rvm-rubinius-1-0-0-install-recipe/#comments</comments>
		<pubDate>Tue, 25 May 2010 18:54:42 +0000</pubDate>
		<dc:creator>Steven</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[cucumber]]></category>
		<category><![CDATA[rspec]]></category>
		<category><![CDATA[rubinius]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[RVM]]></category>

		<guid isPermaLink="false">http://nomadicoder.com/2010/05/25/quick-rvm-rubinius-1-0-0-install-recipe/</guid>
		<description><![CDATA[Here are the quick and dirty commands I used to install Rubinius 1.0.0 with Rails, RSpec, and Sinatra in RVM on Mac OS X. So far I haven’t been able to get Cucumber to install. The problem has been fixed &#8230; <a href="http://nomadicoder.com/2010/05/25/quick-rvm-rubinius-1-0-0-install-recipe/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><span style="font-size: 12pt;">Here are the quick and dirty commands I used to install <a href="http://rubini.us/">Rubinius</a> <a href="http://rubini.us/about/one_point_oh">1.0.0</a> with <a href="http://rubyonrails.org/">Rails</a>, <a href="http://rspec.info/">RSpec</a>, and <a href="http://www.sinatrarb.com/">Sinatra</a> in <a href="http://rvm.beginrescueend.com/">RVM</a> on <a href="http://www.apple.com/macosx/">Mac OS X</a>.  <del datetime="2010-07-12T17:55:27+00:00">So far I haven’t been able to get <a href="http://wiki.github.com/aslakhellesoy/cucumber/">Cucumber</a> to install.</del></p>
<p> <em>The problem has been <a title="Gherkin under Rubinius 1.0.0 Fails To Build From &quot;gem install cucumber&quot;" href="http://github.com/aslakhellesoy/gherkin/issues/closed/#issue/64">fixed</a> with the <a title="Rubinius 1.0.1" href="http://rubini.us/about/one_point_one">1.0.1 release</a>.  I have added commands to install Cucumber support.</em></p>
<p></span></p>
<pre><code>
rvm install rbx
rvm rbx
gem update --system --no-ri --no-rdoc
gem update --no-ri --no-rdoc
gem install rails --no-ri --no-rdoc
gem install sqlite3-ruby --no-ri --no-rdoc
gem install rspec --no-ri --no-rdoc
gem install rspec-rails --no-ri --no-rdoc
gem install cucumber --no-ri --no-rdoc
gem install cucumber-rails --no-ri --no-rdoc
gem install sinatra --no-ri --no-rdoc
</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://nomadicoder.com/2010/05/25/quick-rvm-rubinius-1-0-0-install-recipe/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ordering on a Field in a Linked Table</title>
		<link>http://nomadicoder.com/2010/02/01/ordering-on-a-field-in-a-linked-table/</link>
		<comments>http://nomadicoder.com/2010/02/01/ordering-on-a-field-in-a-linked-table/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 05:55:19 +0000</pubDate>
		<dc:creator>Steven</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://nomadicoder.com/2010/02/01/ordering-on-a-field-in-a-linked-table/</guid>
		<description><![CDATA[I attempted to order my runners based on their assigned stage number. The stage number is linked by the stage_id in the schema and the class shows that it belongs to a stage: class Runner &#62; ActiveRecord::Base belongs_to :stage end &#8230; <a href="http://nomadicoder.com/2010/02/01/ordering-on-a-field-in-a-linked-table/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I attempted to order my runners based on their assigned stage number. The stage number is linked by the stage_id in the schema and the class shows that it belongs to a stage:</p>
<pre>
<code>
class Runner &gt; ActiveRecord::Base
  belongs_to :stage
end
</code>
</pre>
<p>At first glance, I figure I would simply order on the stage number:</p>
<pre>
<code>
def self.find_all_runners
  find ( :all, :order =&gt; "stage.number" )
end
</code>
</pre>
<p>But this resulted in a &#8220;no such column&#8221; error:</p>
<p><em><span style="color: #ff1f19;">SQLite3::SQLException: no such column: stages.number: SELECT * FROM &#8220;runners&#8221; ORDER BY stages.number</span></em></p>
<p>I found the solution in Ryan Daigle&#8217;s <a href="http://ryandaigle.com/articles/2008/7/7/what-s-new-in-edge-rails-easy-join-table-conditions">blog</a>. In order for this to work you need a <em>:joins</em> to the linked table so Active Record knows the origin of stage.number. In my application, the find should be:</p>
<pre>
<code>
def self.find_all_runners
  find ( :all, :joins =&gt; :stage, :order =&gt; "stages.number" )
end
</code>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://nomadicoder.com/2010/02/01/ordering-on-a-field-in-a-linked-table/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IT Conversations: Kent Beck</title>
		<link>http://nomadicoder.com/2008/08/27/it-conversations-kent-beck/</link>
		<comments>http://nomadicoder.com/2008/08/27/it-conversations-kent-beck/#comments</comments>
		<pubDate>Wed, 27 Aug 2008 12:38:42 +0000</pubDate>
		<dc:creator>Steven</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Podcasting]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://nomadicoder.com/2008/08/27/it-conversations-kent-beck/</guid>
		<description><![CDATA[The Conversations Network recently released an IT Conversations show I did post production on. Kent Beck tells stories about how his pioneering work in Test Driven Development, Design Patterns and Extreme Programming. Link. Technorati Tags: Programming]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://www.conversationsnetwork.org/">Conversations Network</a> recently released an <a href="http://itc.conversationsnetwork.org/">IT Conversations</a> <a href="http://itc.conversationsnetwork.org/shows/detail3759.html">show</a> I did post production on.   Kent Beck tells stories about how his pioneering work in Test Driven Development, Design Patterns and Extreme Programming.  <a href="http://itc.conversationsnetwork.org/shows/detail3759.html">Link</a>.<br />
<!-- technorati tags start --></p>
<p style="text-align: right; font-size: 10px;">Technorati Tags: <a rel="tag" href="http://www.technorati.com/tag/Programming">Programming</a></p>
<p><!-- technorati tags end --></p>
]]></content:encoded>
			<wfw:commentRss>http://nomadicoder.com/2008/08/27/it-conversations-kent-beck/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
