<?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>emson... &#187; rails</title>
	<atom:link href="http://blog.emson.co.uk/category/rails/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.emson.co.uk</link>
	<description></description>
	<lastBuildDate>Thu, 24 Jun 2010 08:27:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Halcyon Events logo on Jenson Button&#8217;s Formula One helmet</title>
		<link>http://blog.emson.co.uk/2009/03/halcyon-events-logo-on-jenson-buttons-formula-one-helmet/</link>
		<comments>http://blog.emson.co.uk/2009/03/halcyon-events-logo-on-jenson-buttons-formula-one-helmet/#comments</comments>
		<pubDate>Sat, 28 Mar 2009 14:26:30 +0000</pubDate>
		<dc:creator>ben</dc:creator>
				<category><![CDATA[rails]]></category>
		<category><![CDATA[sport]]></category>

		<guid isPermaLink="false">http://blog.emson.co.uk/?p=35</guid>
		<description><![CDATA[Jenson Button has just got pole position ready for the Australian Formula One race tomorrow.  This is pretty exciting as on either side of his helmet is the Halcyon Events Ltd. logo.

Halcyon Events is a company that specialises in high end bespoke Formula One events.  Through their contacts they can take you and [...]]]></description>
			<content:encoded><![CDATA[<p>Jenson Button has just got pole position ready for the Australian Formula One race tomorrow.  This is pretty exciting as on either side of his helmet is the <a href="http://www.halcyonsport.com">Halcyon Events Ltd. logo.</a></p>

<div id="attachment_39" class="wp-caption alignnone" style="width: 510px"><a href="http://www.halcyonsport.com"><img src="http://blog.emson.co.uk/wp-content/uploads/2009/03/helmet_logo.jpg" alt="Jenson Button&#039;s Helmet with Halcyon Logo" title="helmet_logo" width="500" height="333" class="size-full wp-image-39" /></a><p class="wp-caption-text">Jenson Button's Helmet with Halcyon Logo</p></div>

<p><a href="http://www.halcyonsport.com">Halcyon Events</a> is a company that specialises in high end bespoke Formula One events.  Through their contacts they can take you and your clients behind the scenes to areas not normally permitted, and give you a unique experience into Formula One (F1).</p>

<p>The web site was built by me, the design was created by <a href="http://www.scamperbranding.com/">Scamper Branding</a> and the logo on Jenson&#8217;s helmet was designed by <a href="http://www.fireflycreative.co.uk/">Firefly Creative</a>.</p>

<p><a href="http://www.fireflycreative.com"><img src="http://blog.emson.co.uk/wp-content/uploads/2009/03/fireflylogo_sml.jpg" alt="Firefly Creative logo" title="Firefly Creative logo" width="150" height="49" /></a></p>

<p>Anyway fingers crossed for Jenson Button to win the Australian Grand Prix!.</p>

<p><strong>&#8211; Update &#8211;</strong> Fantastic Jenson Button won the Melbourne Grand Prix!  How exciting.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.emson.co.uk/2009/03/halcyon-events-logo-on-jenson-buttons-formula-one-helmet/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Installing Sqlite3 on Windows for Rails</title>
		<link>http://blog.emson.co.uk/2008/06/installing-sqlite3-on-windows-for-rails/</link>
		<comments>http://blog.emson.co.uk/2008/06/installing-sqlite3-on-windows-for-rails/#comments</comments>
		<pubDate>Wed, 04 Jun 2008 14:57:33 +0000</pubDate>
		<dc:creator>ben</dc:creator>
				<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[sqlite3]]></category>

		<guid isPermaLink="false">http://blog.emson.co.uk/?p=10</guid>
		<description><![CDATA[The Windows version of Ruby on Rails does not ship with the Sqlite3 database, even though the database.yaml configuration file is preconfigured to use Sqlite.

This is a how to guide on how to install Sqlite3 on your Windows PC.
This article assumes that you already have Ruby and Ruby on Rails installed on your PC.

First you [...]]]></description>
			<content:encoded><![CDATA[<p>The Windows version of <a href="http://www.rubyonrails.org">Ruby on Rails</a> does not ship with the <a href="http://www.sqlite.org">Sqlite3 database</a>, even though the <strong>database.yaml</strong> configuration file is preconfigured to use Sqlite.</p>

<p>This is a <em>how to</em> guide on how to install Sqlite3 on your Windows PC.
This article assumes that you already have <a href="http://www.ruby-lang.org">Ruby</a> and <a href="http://www.rubyonrails.org">Ruby on Rails</a> installed on your PC.</p>

<p>First you will need to download two files from the Sqlite web site <a href="http://www.sqlite.org/download.html">http://www.sqlite.org/download.html</a>:</p>

<pre><code>    sqlite-3_5_9.zip (214.32 KiB)
    A command-line program for accessing and modifing SQLite databases. 
    See the documentation for additional information.

    sqlitedll-3_5_9.zip (213.17 KiB)
    This is a DLL of the SQLite library without the TCL bindings. 
    The only external dependency is MSVCRT.DLL.
</code></pre>

<p>The first file is the Sqlite command line program used for modifing the Sqlite database.  You may or may not use this.</p>

<p>The second file is the Windows DLL library file and Ruby uses this when Rails makes Sqlite database calls.</p>

<p>When both these ZIP files have been extracted you should have the following files:</p>

<ul>
<li>sqlite3.exe</li>
<li>sqlite3.def</li>
<li>sqlite3.dll</li>
</ul>

<p>Copy these file to the <strong>bin</strong> directory of your Ruby installation, if you followed the default Ruby installation it will be located here:</p>

<pre><code>    C:\ruby\bin
</code></pre>

<p>Now that you have the Sqlite3 files installed you need to tell Ruby how to use them.  To do this you need to download the Ruby bindings for Sqlite3.<br/>Fortunately this is easy to do, using Ruby gems.  Simply at the command prompt type the following command:</p>

<pre><code>    gem install sqlite3-ruby
</code></pre>

<p>You will now need to tell Gems which version you need as you will be presented with the following output:</p>

<pre><code>    Bulk updating Gem source index for: http://gems.rubyforge.org
    Select which gem to install for your platform (i386-mswin32)
     1. sqlite3-ruby 1.2.2 (mswin32)
     2. sqlite3-ruby 1.2.2 (ruby)
     3. sqlite3-ruby 1.2.1 (mswin32)
     4. sqlite3-ruby 1.2.1 (ruby)
     5. Skip this gem
     6. Cancel installation
    &gt;_
</code></pre>

<p>Please select option 1, <strong>sqlite3-ruby 1.2.2 (mswin32)</strong>.  All being successful you will get some output like this:</p>

<pre><code>    Successfully installed sqlite3-ruby-1.2.2-mswin32
    Installing ri documentation for sqlite3-ruby-1.2.2-mswin32...
    Installing RDoc documentation for sqlite3-ruby-1.2.2-mswin32...
</code></pre>

<p>If you are using Rails 2+ you should be able to run the following rake tasks from your Rails application directory.  For example say you created a Rails application located here: <strong>C:\MyApp</strong> you should be able to execute:</p>

<pre><code>    C:\MyApp&gt;rake db:create
    or
    C:\MyApp&gt;rake db:migrate
</code></pre>

<p>Hope this is useful.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.emson.co.uk/2008/06/installing-sqlite3-on-windows-for-rails/feed/</wfw:commentRss>
		<slash:comments>48</slash:comments>
		</item>
	</channel>
</rss>
