<?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>Shawn SorichettiRuby/Rails</title>
	<atom:link href="http://blogs.sackheads.org/hide/category/programming/rubyrails/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.sackheads.org/hide</link>
	<description>Life with technology</description>
	<lastBuildDate>Tue, 29 Sep 2009 17:19:21 +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>Rails Tutorials</title>
		<link>http://blogs.sackheads.org/hide/2007/05/25/rails-tutorials/</link>
		<comments>http://blogs.sackheads.org/hide/2007/05/25/rails-tutorials/#comments</comments>
		<pubDate>Fri, 25 May 2007 17:53:15 +0000</pubDate>
		<dc:creator>hide</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Ruby/Rails]]></category>

		<guid isPermaLink="false">http://blogs.sackheads.org/hide/2007/05/25/rails-tutorials/</guid>
		<description><![CDATA[I am making my way through learning Ruby and Rails with a couple projects that I&#8217;ve always wanted to write. Rather than writing sample applications I find it a lot easier to learn if I have a need to use a tool, and these projects provide that need.

As I&#8217;m working through each one I&#8217;m discover [...]]]></description>
			<content:encoded><![CDATA[<p><p id="top" />I am making my way through learning Ruby and Rails with a couple projects that I&#8217;ve always wanted to write. Rather than writing sample applications I find it a lot easier to learn if I have a need to use a tool, and these projects provide that need.</p>

<p>As I&#8217;m working through each one I&#8217;m discover gaps in what I have learned thus far, and have found these various tutorials helpful.</p>

<ul>
<li><a href="http://railsforum.com/viewtopic.php?id=717">Creating Two Models in One Form</a></li>
<li><a href="http://railsforum.com/viewtopic.php?pid=5238">Creating Many Models in One Form</a></li>
<li><a href="http://railsforum.com/viewtopic.php?id=1065">Creating Variable Number of Models in One Form</a></li>
<li><a href="http://www.aidanf.net/rails_user_authentication_tutorial">Basic User Authentication in Rails</a></li>
<li><a href="http://betterexplained.com/articles/starting-ruby-on-rails-what-i-wish-i-knew/">Starting Ruby on Rails: What I Wish I Knew</a></li>
<li><a href="http://railscasts.com/">Railscasts</a></li>
<li><a href="http://www.deepcalm.com/writing/cropped-thumbnails-in-attachment_fu-using-imagescience">attachment_fu and ImageScience</a></li>
</ul>

<p>This list will continue to grow as I find more useful tutorials.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.sackheads.org/hide/2007/05/25/rails-tutorials/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rails, SQLite3 and OS X</title>
		<link>http://blogs.sackheads.org/hide/2007/02/03/rails-sqlite3-and-os-x/</link>
		<comments>http://blogs.sackheads.org/hide/2007/02/03/rails-sqlite3-and-os-x/#comments</comments>
		<pubDate>Sat, 03 Feb 2007 04:49:53 +0000</pubDate>
		<dc:creator>hide</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Ruby/Rails]]></category>

		<guid isPermaLink="false">http://blogs.sackheads.org/hide/2007/02/03/rails-sqlite3-and-os-x/</guid>
		<description><![CDATA[While working my way through Agile Web Development with Rails (yes I&#8217;m learning Rails and Ruby, more on this too later) I ran into the following error:


SQLite3::SQLException: near &#8220;ADD&#8221;: syntax error: ALTER TABLE products ADD &#8220;date_available&#8221; datetime


while trying to add a column through a migration. Searching Google took me to a couple of places, but [...]]]></description>
			<content:encoded><![CDATA[<p><p id="top" />While working my way through <a href="http://www.pragmaticprogrammer.com/title/rails/">Agile Web Development with Rails</a> (yes I&#8217;m learning Rails and Ruby, more on this too later) I ran into the following error:</p>

<div class="code">
SQLite3::SQLException: near &#8220;ADD&#8221;: syntax error: ALTER TABLE products ADD &#8220;date_available&#8221; datetime
</div>

<p>while trying to add a column through a migration. Searching Google took me to a couple of places, but it took a while to find a result that explained how to resolve this issue.</p>

<p>Luckily I came across <a href="http://mcornick.org/stories/72">this post</a> by <a href="http://mcornick.org">Mark Cornick</a>, which explained that the issues was caused by the version of SQLite3 that is included in OS X 10.4.</p>

<p>After downloading and installing (from source) the <a href="http://sqlite.org/download.html">latest version of SQLite3</a>, and uninstalling and reinstalling the sqlite3-ruby gem</p>

<div class="code">
sudo gem uninstall sqlite3-ruby<br />
sudo gem install sqlite3-ruby
</div>

<p>I was able to run the migration to add the column and continue on.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.sackheads.org/hide/2007/02/03/rails-sqlite3-and-os-x/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

