<?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>facetsquared</title>
	<atom:link href="http://facetsquared.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://facetsquared.wordpress.com</link>
	<description>football. web development. music. other.</description>
	<lastBuildDate>Mon, 25 May 2009 22:12:41 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='facetsquared.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/d9b6d7b6d77915c84535f7f464a0c07b?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>facetsquared</title>
		<link>http://facetsquared.wordpress.com</link>
	</image>
			<item>
		<title>From the Vaults 2: Fan&#8217;s Eye View</title>
		<link>http://facetsquared.wordpress.com/2009/05/25/fans-eye-view/</link>
		<comments>http://facetsquared.wordpress.com/2009/05/25/fans-eye-view/#comments</comments>
		<pubDate>Mon, 25 May 2009 22:12:10 +0000</pubDate>
		<dc:creator>godflesh</dc:creator>
				<category><![CDATA[football]]></category>
		<category><![CDATA[general]]></category>
		<category><![CDATA[cup shock]]></category>
		<category><![CDATA[relegation]]></category>

		<guid isPermaLink="false">http://facetsquared.wordpress.com/?p=83</guid>
		<description><![CDATA[A good few years ago The Independent ran a weekly column written by fans about their own club, giving a little insight into an aspect of being a supporter. Anyway, I wrote the piece below (over ten years ago!) but never sent it in. I&#8217;m not sure how I feel about the sentiments now (and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=facetsquared.wordpress.com&blog=339464&post=83&subd=facetsquared&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>A good few years ago <a href="http://www.independent.co.uk" target="_blank">The Independent</a> ran a weekly column written by fans about their own club, giving a little insight into an aspect of being a supporter. Anyway, I wrote the piece below (over ten years ago!) but never sent it in. I&#8217;m not sure how I feel about the sentiments now (and I may come back to this I guess), but here it is, as written then, for what it&#8217;s worth&#8230;</p>
<p><strong>Fan&#8217;s Eye View: Kilmarnock</strong></p>
<p>I have found that supporting one of Scottish football’s so-called lesser teams has always had it’s advantages. Aside from the fact that I am mercifully detached from the bigoted tub-thumping that shrouds the Old Firm, there are a good many perks.</p>
<p>Getting to see my team at away matches is never much of a problem, season-tickets are still priced within reason, and I enjoy a breed of small-community spirit that has helped me to find optimism in a 6-2 Coca-Cola Cup defeat at Stirling Albion.</p>
<p>The main benefit, though, as I see it, is that onerous expectation is replaced by hope. Not for me the dreadful fear that Rangers may get ten-in-a-row. Not for me the terrible worry that Celtic may stop them. I can just take my place in the stand and hope that Killie play well. Hope that we win. Hope that maybe, just maybe, I’ll have something to celebrate.</p>
<p>Or that’s how it was until 24 May 1997, when, for the first time since 1929, Kilmarnock won the Scottish Cup. Now things have changed.</p>
<p>I can’t actually clearly remember my first time watching Killie. It was at Rugby Park in the seventies &#8211; a Wednesday night Cup tie against either Hearts or Dundee Utd. We got beat, I do remember that. So I suppose from the very start I didn’t expect too much from them. At that time Killie were yo-yoing between the top two divisions, a singular Scottish League Championship in season 1964/65 a distant memory and before my time.</p>
<p>My Dad always worked Saturdays so I was restricted to midweek matches and that seemed to suffice at the time. Gradually over the years my attendance record improved and eventually I found myself going to every game &#8211; home &amp; away &#8211; just in time to witness Killie sink to the lowest ebb in their history.</p>
<p>The reality of relegation to the Second Division was played out on a bitterly cold Tuesday night in Dumfries when we were beaten 3-2 by Queen of the South. My football nadir had been reached. From then on I knew that things, as they say, could only get better. <em>[Ed - reading this now it suggests we were relegated on that Tuesday; that's not what I meant. It was this particular game that summed up the depression of the time for me.]</em></p>
<p>And that’s the whole point of following a team like Kilmarnock isn’t it? You see the bad times as a means of penance. You are doing your time to pay for the small crumbs of success which come your way: a glorious Quarter-final Cup defeat, a nail-biting promotion to the Premier League; a spirited fight against the drop; another Ayrshire Cup. But you don’t dare dream that one day your team may actually win something of any significance. Do you?</p>
<p>Well, as I said, last year we did. Incredulous as it may sound, Kilmarnock are the reigning Tennants Scottish Cup holders.</p>
<p>So this season we headed undaunted into the bright lights of the Cup-Winners’ Cup. Suddenly, there were new dreams: a trip to the Nou Camp or a visit to Rugby Park by a swaggering Chelsea.</p>
<p>I was reminded, however, that Barcelona had washed their hands of the competition, having found a golden ticket to the Money Factory, the Champions’ League, in a chocolate bar. There was still a chance of Gianfranco Zola attempting to outwit Ray Montgomerie, though. (The fact that you probably don’t know who Ray Montgomerie is tends to underline the surreality of this possibility).</p>
<p>As it turned out we drew Irish part-timers Shelbourne whom we finally overcame 3-2 on aggregate. The glamour started and finished in our pairing with Nice of the French Second Division.</p>
<p>In France we were gubbed 3-1, which was followed by a 1-1 draw at home. The photos are pasted in a scrapbook under the headline “So near, yet so far&#8230;”. Cue end of  romance.</p>
<p>All of this, as you have gathered, has left me in a bit of a flap. You see, last May I experienced the most exciting, fulfilling, emotional day of my footballing life. I saw something which I had dreamed about, but did not really expect ever to see.</p>
<p>That day, the long trips to Glebe Park and Boghead seemed worthwhile, as if they meant something. I felt that my devotion, persistence and endurance had in some small way played its part in our Cup victory.</p>
<p>But since that day watching Killie hasn’t quite been the same. Sure, I still go to every game. I still care deeply about the club and am proud to be a supporter. Despite this though, something is missing. The hope is gone. I’ve seen us win the Cup. I’ve seen the best Killie victory I’m ever likely to see. No game will ever compare.</p>
<p>Unless we win the league, that is.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/facetsquared.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/facetsquared.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/facetsquared.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/facetsquared.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/facetsquared.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/facetsquared.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/facetsquared.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/facetsquared.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/facetsquared.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/facetsquared.wordpress.com/83/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=facetsquared.wordpress.com&blog=339464&post=83&subd=facetsquared&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://facetsquared.wordpress.com/2009/05/25/fans-eye-view/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/18e3492f1662d71f942f3727479985ad?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">godflesh</media:title>
		</media:content>
	</item>
		<item>
		<title>From the Vaults 1: Original Thinking</title>
		<link>http://facetsquared.wordpress.com/2009/05/24/original-thinking/</link>
		<comments>http://facetsquared.wordpress.com/2009/05/24/original-thinking/#comments</comments>
		<pubDate>Sun, 24 May 2009 22:34:34 +0000</pubDate>
		<dc:creator>godflesh</dc:creator>
				<category><![CDATA[Hippo Articles]]></category>
		<category><![CDATA[football]]></category>

		<guid isPermaLink="false">http://facetsquared.wordpress.com/?p=77</guid>
		<description><![CDATA[I&#8217;ve been digging through some old files and came across various bits of writing I&#8217;ve done that may (or may not!) merit an airing on here. I&#8217;ve added a few more Killie U21 reports from days of yore and below is the first of a few general articles I&#8217;ll post up. This first appeared in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=facetsquared.wordpress.com&blog=339464&post=77&subd=facetsquared&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I&#8217;ve been digging through some old files and came across various bits of writing I&#8217;ve done that may (or may not!) merit an airing on here. I&#8217;ve added a few more <a href="http://facetsquared.wordpress.com/category/football/killie-u21-reports/" target="_self">Killie U21 reports</a> from days of yore and below is the first of a few general articles I&#8217;ll post up. This first appeared in the Killie Hippo issue 50&#8230;</p>
<p><strong>Original Thinking</strong></p>
<p>Like many fans, for me the League Cup has lost much of its lustre. As competitions go, it’s a tired beast and since it no longer offers its winner a UEFA cup place, in a football sense it’s ultimately pointless. This is reflected in low crowds, almost no television or radio coverage, and consequently minimal sponsorship. Managers and players see it as little more than an irritation or, at best, a chance to dabble in idiotic team formations. For the Old Firm, winning it only sheepishly marks the first part of a possible treble – it has no merit on its own. It’s time it was scrapped. The fact that Killie have never won it may or may not be influential in my opinion….</p>
<p>But what to replace it with? Some people – particularly those of a “big-club” persuasion who constantly moan about players being over-played – may argue that the blank spaces created in the fixture calendar should be left unfilled. Supporters and custodians of smaller clubs, for whom the League Cup at least offers the opportunity of additional income, would quite rightly argue the opposite. But these, I think, are typical of the parochial arguments we so often make of football in Scotland. When considering innovations in our game perhaps we should be looking as far as Australian Rugby League for inspiration.</p>
<p>The annual State of Origin series in Australia is an interstate three game series between Queensland and New South Wales. It is one of Australia’s biggest sporting events, and highest rating television programmes, and is played to sell-out crowds. To understand what relevance this has for Scottish football it is important to understand how this series became the success it is.</p>
<p>Since its inception in 1908, Australian Rugby League has held an interstate championship between Queensland and New South Wales (the two states where this code is played). Up until 1981 each team drew its players from the clubs based in that state. No notice was taken of the state origin of the players themselves. Historically, New South Wales dominated this match and peculiarly, given the current talk of Super Casinos at Ibrox and other stadia, a change to gambling laws in that state in 1956 cemented their domination. It was at this time that gaming machines (I think we’d call them puggies!) were legalised in New South Wales clubs providing them with vast new revenue. As the clubs grew stronger so did their pull on the best players from rival Queensland clubs and the interstate matches became a no contest. Years of debate ensued on how to address this inequality and the pivotal moment arrived in 1980.</p>
<p>With Queensland already 2-nil down in the series the game’s administrators, taking the lead from the rival code’s Australian Rules’ State of Origin games between Western Australia and Victoria, announced that the third match in the series would be based on new selection rules, i.e. players playing for the state they originally played in as juniors. Many, especially in the New South Wales media, were sceptical of this and the usual modest crowd of 5,000 was predicted. Yet the Queensland supporters, given the chance to see the first fair interstate contest in years, responded; 35,000 of them turned up to see their team win 20-10 and Rugby League’s State of Origin was born.</p>
<p>The reasons for the State of Origin’s success are apparent. The players and supporters are passionate about their home state, the two teams are competing on an even basis, and there is unpredictability to the outcome. These seem to me like ingredients much of Scottish football is currently sadly lacking.</p>
<p>Could a similar model work in Scottish football? I’m positive it would. In practical terms, I would suggest something along the lines of the following. Scotland could be divided into six regions, say: Highlands, Islands &amp; the North; Stirlingshire, Perthshire &amp; Tayside; Edinburgh &amp; the Borders; Glasgow; Lanarkshire; and Ayrshire &amp; South of Scotland. Not perfect, perhaps, but a good starting point. Teams would play each other once in a mini league format with the finishing top two teams playing at Hampden in a one-off final. There would be other considerations such as choices of venue for matches, appointing of managers etc, however nothing that couldn’t be sorted out.</p>
<p>In the State of Origin today players are selected according to which of the two States they first played in at junior level. The player doesn’t <em>have</em> to have been born in that state, although they usually were. When applying this model to Scottish football, I would be in favour of taking the selection criteria a step further and limiting the regional teams to players born there thus negating the advantage – at least in this competition – of certain regions “mopping up” the best players at youth level.</p>
<p>Such a competition is an attractive proposition in many ways. Principally, though, it fulfils two main requirements for an average supporter. Firstly, it gives him an affinity with his team – with the belief that the players have that same affinity by birth even if they no longer play in the area. ”Playing for the jersey” has become a hackneyed expression and a forlorn hope of most fans, however the Australian example suggests that players take immense pride in representing their State. Secondly, with player selection not reliant on finance, it would provide all teams with a fair chance of winning and therefore every supporter a realistic shot at glory.</p>
<p>There are also benefits for the wider game in Scotland. The showcasing of the best in Scottish talent in a competitive environment can only be good for the National side. Indeed, in Australia the State of Origin games are considered as trial matches for selection to the Australian Rugby League side. This goes a long way to ensuring that the games are taken seriously by the players. It should also be viewed as an inclusive competition. The Scotland team receives fanatical support from many people who don’t regularly watch a club side. In the same way I think there is potential for <em>all</em> football fans to feel pride and attachment to a regional team. Furthermore, the increased income generated from the Cup would be fed evenly back into the game across the whole of Scotland.</p>
<p>Not much gets off the ground these days without the correct marketing. This competition would be a marketers dream. There are six new strips to be designed and sold for a start! There are team names (and, indeed, a competition name) to come up with. The novelty alone would ensure decent exposure in the media and the “product”, if we have to talk of it in those terms, could surely be packaged a lot easier on TV and radio than the League Cup.</p>
<p>Undoubtedly there are some obstacles to such a competition, however. Regional sides would no doubt create “club v county” conflicts, though, provided the games are given sufficient prominence this shouldn’t prove too much of an issue. In any case, the “big teams” that do most of the moaning in this regard don’t exactly play with many Scots anyway! The usual topics of injury payments etc would crop up, but these issues are already dealt with at National level.</p>
<p>The most interesting challenge, I think, would be the uniting of normally rival supporters under a common cause. As a Kilmarnock supporter would I sit side by side with an Ayr fan cheering on the Ayrshire &amp; South Scotland whatevers (no, I <em>can’t</em> think of a name)? I have to say yes. Under this circumstance I’d be no more at odds with another fan than if I was at Hampden supporting Scotland. Whether they spent their Saturdays normally watching Stranraer, Queen of the South, Cumnock or Largs Thistle wouldn’t matter. What <em>would</em> matter is that they, like me, would want us to beat those Weegie bastards from up the road.</p>
<p>Some fans may see such a competition as the first step on a slippery slope to mergers and regionalised super clubs – I don’t see it like that. The identity of individual clubs within Scotland is too strong to accommodate such a move, and long may that be the case. Remember, too, that the State of Origin approach is based on a different premise: the team is made from players from a region – the club that player plays for is irrelevant to all but the small-minded.</p>
<p>It is worth noting that a similar competition was played for many years in English Rugby League, but latterly with limited success. This was the “War of the Roses” match between Yorkshire and Lancashire that ran from 1895 to 1989 with player eligibility based on region of birth and where they first played professionally. It was revived in 2001 under the name of the Origin Series, inspired by the success of the State of Origin matches in Australia, however it ceased two years later due to poor crowds.</p>
<p>Whilst this does cast doubt over the viability of an Origin-based competition in football, I think the ultimate failure of the English competition was due to it not fulfilling a need at the time. Both counties have successful rugby league teams, therefore supporters on both sides are no strangers to success. Furthermore, the league game had already experienced a successful re-branding with the Super League concept.</p>
<p>There is no doubt that the introduction of an Origin-type Cup to Scottish football would require a significant leap of faith. Yet, fundamentally, Scottish football doesn’t like change. The game’s administrators are frightened of change. Supporters, whether they care to admit it or not, are frightened of change. And when change does occur, more often than not it is only to the benefit of the few, with little regard for the game as a whole. This attitude &#8211; more than anything else – must be removed from our game for it to prosper. Its prevalence is why we have out-dated, stagnant competitions like the League Cup. Embracing innovation in our game – whilst rediscovering some of its ideology – may yet remind us why we cared so much in the first place.</p>
<p>In any case, whatever the outcome of such an experiment, it would have to be better than spending a Tuesday night in September losing to Ayr, Airdire, Alloa or Brechin….</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/facetsquared.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/facetsquared.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/facetsquared.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/facetsquared.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/facetsquared.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/facetsquared.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/facetsquared.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/facetsquared.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/facetsquared.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/facetsquared.wordpress.com/77/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=facetsquared.wordpress.com&blog=339464&post=77&subd=facetsquared&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://facetsquared.wordpress.com/2009/05/24/original-thinking/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/18e3492f1662d71f942f3727479985ad?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">godflesh</media:title>
		</media:content>
	</item>
		<item>
		<title>Buy Stirling Albion</title>
		<link>http://facetsquared.wordpress.com/2009/05/23/buy-stirling-albion/</link>
		<comments>http://facetsquared.wordpress.com/2009/05/23/buy-stirling-albion/#comments</comments>
		<pubDate>Sat, 23 May 2009 19:09:07 +0000</pubDate>
		<dc:creator>godflesh</dc:creator>
				<category><![CDATA[football]]></category>
		<category><![CDATA[stirling albion]]></category>

		<guid isPermaLink="false">http://facetsquared.wordpress.com/?p=69</guid>
		<description><![CDATA[Thought I should give a mention to the Buy Stirling Albion campaign. The guys behind this should be commended. It&#8217;s nice to see folks trying to bolster a community club when so many, including Killie for example, are struggling financially. Whether they ultimately achieve their goal remains to be seen but I wish them a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=facetsquared.wordpress.com&blog=339464&post=69&subd=facetsquared&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Thought I should give a mention to the Buy Stirling Albion campaign. The guys behind this should be commended. It&#8217;s nice to see folks trying to bolster a community club when so many, including Killie for example, are struggling financially. Whether they ultimately achieve their goal remains to be seen but I wish them a lot of luck. Head over to <a href="http://www.buystirlingalbion.org.uk/">the website</a> for more info.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/facetsquared.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/facetsquared.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/facetsquared.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/facetsquared.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/facetsquared.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/facetsquared.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/facetsquared.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/facetsquared.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/facetsquared.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/facetsquared.wordpress.com/69/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=facetsquared.wordpress.com&blog=339464&post=69&subd=facetsquared&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://facetsquared.wordpress.com/2009/05/23/buy-stirling-albion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/18e3492f1662d71f942f3727479985ad?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">godflesh</media:title>
		</media:content>
	</item>
		<item>
		<title>Ruby on Rails: A Newbie&#8217;s Journey, Part 4</title>
		<link>http://facetsquared.wordpress.com/2009/04/27/ruby-on-rails-a-newbies-journey-part-4/</link>
		<comments>http://facetsquared.wordpress.com/2009/04/27/ruby-on-rails-a-newbies-journey-part-4/#comments</comments>
		<pubDate>Mon, 27 Apr 2009 22:38:20 +0000</pubDate>
		<dc:creator>godflesh</dc:creator>
				<category><![CDATA[web design]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://facetsquared.wordpress.com/?p=61</guid>
		<description><![CDATA[So, back to my experiences with Ruby on Rails&#8230;.
In Part 3, I went through the steps needed to get all the Rails environment components installed and this seemed to go OK. Before building any application I made sure that the MySQL server was running. This can be done in OSX clicking on the System Preferences [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=facetsquared.wordpress.com&blog=339464&post=61&subd=facetsquared&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>So, back to my experiences with Ruby on Rails&#8230;.</p>
<p>In <a title="Part 3" href="http://facetsquared.wordpress.com/2008/04/02/ruby-on-rails-a-newbies-journey-part-3/" target="_self">Part 3</a>, I went through the steps needed to get all the Rails environment components installed and this seemed to go OK. Before building any application I made sure that the MySQL server was running. This can be done in OSX clicking on the System Preferences and (under &#8220;Other&#8221;) opening up the MySQL control. To start it up you will need your Admin password (you can also set the service to start on boot up too if you want).</p>
<p>To create that first application in Rails, then, open Terminal and navigate to a suitable folder (in the first instance I used the /usr/local/src folder):</p>
<p><code>computer:~ user$ cd /usr/local/src</code></p>
<p>and then create the application (called &#8220;testapp&#8221; here):</p>
<p><code>computer:/usr/local/src user$ rails testapp</code></p>
<p>A whole load of files are produced at this point and will scroll by your eyes in Terminal. Don&#8217;t worry too much about what they all are at this stage, though. I didn&#8217;t! Next changed directory to testapp and ran:</p>
<p><code>computer:/usr/local/src user$ cd testapp<br />
computer:/usr/local/src/testapp user$ script/server</code></p>
<p>Helpfully, this gave the following error:</p>
<p><code>Rails requires RubyGems &gt;= 0.9.4 (you have 0.9.2). Please 'gem update --system' and try again.</code></p>
<p>So back we go&#8230;</p>
<p><code>computer:/usr/local/src/testapp user$ cd..<br />
computer:/usr/local/src/ user$ gem update --system</code></p>
<p>And off it runs but not so as you&#8217;d think&#8230;</p>
<p><code>Updating RubyGems...<br />
Bulk updating Gem source index for: http://gems.rubyforge.org<br />
Attempting remote update of rubygems-update<br />
ERROR: While executing gem ... (Gem::GemNotFoundException)<br />
Could not find rubygems-update (&gt;0) in any repository</code></p>
<p>Well that&#8217;s not good! A bit of internet searching and I&#8217;m onto this:</p>
<p><code>curl -0 http://files.rubyforge.mmultiworks.com/rubygems/rubygems-0.9.4.tgz</code></p>
<p>&#8230; and the update of Ruby Gems seems complete (at the time of writing the various package versions have moved on a little but I&#8217;ll stick with documenting what I did for now).</p>
<p>Before returning to the testapp it came to my attention that Rails 2.0.2 uses sqlite instead of MySQL (see: <a href="http://weblog.rubyonrails.org/2007/12/17/rails-2-0-2-some-new-defaults-and-a-few-fixes" target="_self">http://weblog.rubyonrails.org/2007/12/17/rails-2-0-2-some-new-defaults-and-a-few-fixes</a>). You must specify that you want to use MySQL (if indeed you do):</p>
<p><code>rails testapp -d mysql</code></p>
<p>Note, don&#8217;t open up the app environment before setting up the database and if you make any changes restart the server (see also: <a href="http://weblog.rubyonrails.org/2007/12/7/rails-2-0-it-s-done" target="_self">http://weblog.rubyonrails.org/2007/12/7/rails-2-0-it-s-done</a>). It was starting to become clear to me (perhaps belatedly) that this move to Rails 2.0 had some changes that the tutorials I&#8217;d been reading didn&#8217;t cope with.</p>
<p>Firstly, Rails 2.0 does scaffolding differently. There&#8217;s a good tutorial at <a href="http://fairleads.blogspot.com/2007/12/rails-20-and-scaffolding-step-by-step.html" target="_self">http://fairleads.blogspot.com/2007/12/rails-20-and-scaffolding-step-by-step.html</a> that I followed in this regard. I&#8217;ll maybe say more about that in Part 5 (see also: <a href="http://www.infoq.com/news/2007/12/rails-20-docs">http://www.infoq.com/news/2007/12/rails-20-docs</a>).</p>
<p>I think it&#8217;s fair to say that I started out with Rails at a rather inopportune time with texts just slipping out of date in the switch to Rails 2.0 in the development cycle. At the time of writing there&#8217;s probably a whole load of stuff of Rails 2.0 so I guess it&#8217;s time to revisit where I&#8217;d got to and see where this Newbie&#8217;s journey goes from here&#8230;</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/facetsquared.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/facetsquared.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/facetsquared.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/facetsquared.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/facetsquared.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/facetsquared.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/facetsquared.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/facetsquared.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/facetsquared.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/facetsquared.wordpress.com/61/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=facetsquared.wordpress.com&blog=339464&post=61&subd=facetsquared&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://facetsquared.wordpress.com/2009/04/27/ruby-on-rails-a-newbies-journey-part-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/18e3492f1662d71f942f3727479985ad?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">godflesh</media:title>
		</media:content>
	</item>
		<item>
		<title>Ruby on Rails: A Newbie&#8217;s Journey, Part 3.5</title>
		<link>http://facetsquared.wordpress.com/2008/06/04/ruby-on-rails-a-newbies-journey-part-35/</link>
		<comments>http://facetsquared.wordpress.com/2008/06/04/ruby-on-rails-a-newbies-journey-part-35/#comments</comments>
		<pubDate>Wed, 04 Jun 2008 22:24:13 +0000</pubDate>
		<dc:creator>godflesh</dc:creator>
				<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://facetsquared.wordpress.com/?p=60</guid>
		<description><![CDATA[Just a wee update to say that I haven&#8217;t abandoned my RoR project &#8211; I&#8217;ve just been a tad busy over the last few weeks. Rest assured Part 4 will be coming along soon. I know you can&#8217;t wait&#8230;
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=facetsquared.wordpress.com&blog=339464&post=60&subd=facetsquared&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Just a wee update to say that I haven&#8217;t abandoned my RoR project &#8211; I&#8217;ve just been a tad busy over the last few weeks. Rest assured Part 4 will be coming along soon. I know you can&#8217;t wait&#8230;</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/facetsquared.wordpress.com/60/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/facetsquared.wordpress.com/60/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/facetsquared.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/facetsquared.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/facetsquared.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/facetsquared.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/facetsquared.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/facetsquared.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/facetsquared.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/facetsquared.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/facetsquared.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/facetsquared.wordpress.com/60/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=facetsquared.wordpress.com&blog=339464&post=60&subd=facetsquared&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://facetsquared.wordpress.com/2008/06/04/ruby-on-rails-a-newbies-journey-part-35/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/18e3492f1662d71f942f3727479985ad?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">godflesh</media:title>
		</media:content>
	</item>
		<item>
		<title>Ruby on Rails: A Newbie&#8217;s Journey, Part 3</title>
		<link>http://facetsquared.wordpress.com/2008/04/02/ruby-on-rails-a-newbies-journey-part-3/</link>
		<comments>http://facetsquared.wordpress.com/2008/04/02/ruby-on-rails-a-newbies-journey-part-3/#comments</comments>
		<pubDate>Wed, 02 Apr 2008 23:48:27 +0000</pubDate>
		<dc:creator>godflesh</dc:creator>
				<category><![CDATA[web design]]></category>
		<category><![CDATA[capistrano]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[mongrel]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[termios]]></category>
		<category><![CDATA[tiger]]></category>

		<guid isPermaLink="false">http://facetsquared.wordpress.com/?p=58</guid>
		<description><![CDATA[Looking for parts 1 or 2?
So finally I settled on using Dan Benjamin (Hivelogic)&#8217;s method of installing Rails. This promised a set-up on Mac OSX (Tiger) of Ruby, Rails, Subversion (version control), Mongrel (web server) and MySQL (database). There were a couple of pre-requisites detailed that I needed to attend to first.
Firstly, I installed XCode [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=facetsquared.wordpress.com&blog=339464&post=58&subd=facetsquared&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Looking for parts <a title="Ruby on Rails Part 1" href="http://facetsquared.wordpress.com/2008/03/30/ruby-on-rails-a-newbies-journey-part-1/">1</a> or <a title="Ruby on Rails Part 2" href="http://facetsquared.wordpress.com/2008/03/31/ruby-on-rails-a-newbies-journey-part-2/">2</a>?</p>
<p>So finally I settled on using <a title="Hivelogic" href="http://hivelogic.com/articles/ruby-rails-mongrel-mysql-osx/" target="_blank">Dan Benjamin (Hivelogic)</a>&#8217;s method of installing Rails. This promised a set-up on Mac OSX (Tiger) of Ruby, Rails, <a title="Subversion" href="http://subversion.tigris.org" target="_blank">Subversion</a> (version control), <a title="Mongrel" href="http://mongrel.rubyforge.org" target="_blank">Mongrel</a> (web server) and <a title="MySQL" href="http://mysql.org" target="_blank">MySQL</a> (database). There were a couple of pre-requisites detailed that I needed to attend to first.</p>
<p>Firstly, I installed XCode 2.4.1 off the Mac DVD that came with my system. I didn&#8217;t do anything beyond complete the installation though. Next I read Dan&#8217;s comments on using the <a title="Using /usr/local" href="http://hivelogic.com/articles/using_usr_local/" target="_blank">/usr/local</a> path for software installs. Some of it flew past me a bit but he did enough to convince me this was the way to go, especially as it appeared his method wouldn&#8217;t work if I didn&#8217;t! After a couple of false starts I wanted to try and follow the route to the letter. The upshot with this is that Dan states to edit the .bash_login file by adding the following to the end:</p>
<p><code>export PATH="/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:$PATH"</code></p>
<p>Great I thought, where the Dickens is that? The period at the start of the file name should be a clue as this means it is a hidden file. Turns out showing hidden files on a Mac is no straightforward task (well, not if you don&#8217;t know how to do it that is). Anyway, a quick trip to the net told me that the following script is needed (I set this up in Automater):</p>
<p><code>defaults write com.apple.finder AppleShowAllFiles TRUE<br />
killall Finder</code></p>
<p>To hide them again you simply run a script as above but with FALSE instead of TRUE. So I did that but no sign of the .bash_login file. Nothing else for it then I just created one in Textedit with the export PATH command as above and saved this to my home folder (no file extension). Checking the permissions on the file, though, shows that I needed to create full read, write and execute permissions on the file (using chmod):</p>
<p><code>computer:~ user$ ls -l ~/.bash_login<br />
-rw-rw-r--   1 user  user  72 Mar 30 18:38 /Users/user/.bash_login<br />
computer:~ user$ chmod 755 ~/.bash_login<br />
computer:~ user$ ls -l ~/.bash_login<br />
-rwxr-xr-x   1 user  user  72 Mar 30 18:38 /Users/user/.bash_login<br />
computer:~ user$</code></p>
<p>Executing the file just returns the command prompt as expected:</p>
<p><code>computer:~ user$ ~/.bash_login<br />
computer:~ user$</code></p>
<p>So groundwork done, on to running the Rails environment install. The full instructions are on Dan&#8217;s site so I am not going to unnecessarily repeat them here; I will however point out how each bit went.</p>
<p><strong>Setting Up</strong></p>
<p>Followed this to the letter.</p>
<p><strong>Ruby</strong></p>
<p>Again, followed as instructed. Each step progressed without any errors. I did of course already have Ruby on my system but I still did the Ruby install part (installing 1.8.6 as expected).</p>
<p><strong>RubyGems</strong></p>
<p>As told, not a hitch.</p>
<p><strong>Ruby on Rails</strong></p>
<p>Again no errors, although did notice that Rails 2.0.2 installed (significantly as it turns out later&#8230;).</p>
<p><strong>Mongrel</strong></p>
<p>All went fine, selected Ruby version 1.1.4 when prompted.</p>
<p><strong>Subversion</strong></p>
<p>Installed this as instructed (version 1.4.3) although got a warning message in the Terminal:</p>
<p><code>configure: WARNING: we have configured without BDB filesystem support<br />
You don't seem to have Berkeley DB version 4.0.14 or newer<br />
installed and linked to APR-UTIL.  We have created Makefiles which<br />
will build without the Berkeley DB back-end; your repositories will<br />
use FSFS as the default back-end.  You can find the latest version of<br />
Berkeley DB here:<br />
http://www.sleepycat.com/download/index.shtml</code></p>
<p>This didn&#8217;t appear to make any difference so I have ignored it for now (but will return to it later I guess).</p>
<p><strong>Capistrano (and termios)</strong></p>
<p>Both installed without a hitch.</p>
<p><strong>MySQL</strong><br />
Obtained the Mac OS X 10.4 (x86) file from mysql.com (version 5.0.51a) and installed as instructed. I also started the server at this point. No problems were encountered.</p>
<p><strong>MySQL Native Bindings Gem</strong></p>
<p>Installed as instructed. I did notice that the latest Ruby version was higher than those listed on Dan&#8217;s site, so I selected this (didn&#8217;t note what it was though). No problems.</p>
<p><strong>Fix MySQL</strong></p>
<p>Did without a hitch.</p>
<p>And so that was that &#8211; everything seemed fine. Thanks Dan! There were a couple of things still not quite right but they only came to light when I tried to set up my first basic application. More on this in Part 4.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/facetsquared.wordpress.com/58/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/facetsquared.wordpress.com/58/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/facetsquared.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/facetsquared.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/facetsquared.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/facetsquared.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/facetsquared.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/facetsquared.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/facetsquared.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/facetsquared.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/facetsquared.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/facetsquared.wordpress.com/58/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=facetsquared.wordpress.com&blog=339464&post=58&subd=facetsquared&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://facetsquared.wordpress.com/2008/04/02/ruby-on-rails-a-newbies-journey-part-3/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/18e3492f1662d71f942f3727479985ad?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">godflesh</media:title>
		</media:content>
	</item>
		<item>
		<title>Ruby on Rails: A Newbie&#8217;s Journey, Part 2</title>
		<link>http://facetsquared.wordpress.com/2008/03/31/ruby-on-rails-a-newbies-journey-part-2/</link>
		<comments>http://facetsquared.wordpress.com/2008/03/31/ruby-on-rails-a-newbies-journey-part-2/#comments</comments>
		<pubDate>Mon, 31 Mar 2008 22:14:36 +0000</pubDate>
		<dc:creator>godflesh</dc:creator>
				<category><![CDATA[web design]]></category>
		<category><![CDATA[leopard]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[tiger]]></category>

		<guid isPermaLink="false">http://facetsquared.wordpress.com/?p=57</guid>
		<description><![CDATA[Looking for Part 1?
First Steps with Ruby
The system I&#8217;m using for web development is a Mac running OSX 10.4.11 (Tiger). Ruby is installed by default in Tiger although it does need some tweaking to work properly with Rails (more of that shortly).
Using Cooper&#8217;s book I dived straight into it. Opening up Terminal you can quickly [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=facetsquared.wordpress.com&blog=339464&post=57&subd=facetsquared&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Looking for <a title="Ruby on Rails Part 1" href="http://facetsquared.wordpress.com/2008/03/30/ruby-on-rails-a-newbies-journey-part-1/">Part 1</a>?</p>
<p><strong>First Steps with Ruby</strong></p>
<p>The system I&#8217;m using for web development is a Mac running OSX 10.4.11 (Tiger). Ruby is installed by default in Tiger although it does need some tweaking to work properly with Rails (more of that shortly).</p>
<p>Using Cooper&#8217;s book I dived straight into it. Opening up Terminal you can quickly check which version of Ruby you have installed; at the command prompt type</p>
<p><code>ruby -v</code></p>
<p>and hit return. This will look something like this&#8230;</p>
<p><code>computer:~ user$ ruby -v<br />
ruby 1.8.6 (2007-03-13 patchlevel 0) [i686-darwin8.11.1]<br />
computer:~ user$</code></p>
<p>So I&#8217;ve got Ruby 1.8.6 installed. It&#8217;s pretty easy to mess around with code examples in the Terminal using the Ruby interactive interpreter, &#8220;irb&#8221;. Enter</p>
<p><code>irb</code></p>
<p>and you&#8217;ll get:</p>
<p><code>irb(main):001:0</code></p>
<p>and you&#8217;re off and running. I did this for a bit and learned the basics of the Ruby syntax along the way but to be honest, my impatience was getting the better of me and I wanted to get Rails up and running ASAP.</p>
<p><strong>Installing Ruby on Rails, Part I</strong></p>
<p>You&#8217;ve got two main options when installing the Rails framework on Mac OSX; either manually, commonly using the guide provided by <a title="Instaling Ruby on Rails on Mac OSX" href="http://hivelogic.com/articles/ruby-rails-mongrel-mysql-osx/" target="_blank">Dan Benjamin</a>, or using the single installer <a title="Locomotive" href="http://locomotive.raaum.org/" target="_blank">Locomotive</a> (although the latter is now finished development as the advent of a fully functional Rails stack in Mac OSX Leopard means it is no longer needed).</p>
<p>The &#8220;instant&#8221; results of Locomotive looked appealing so I had a go at this first. Downloading the file is straightforward enough, of course, and the install is a simple matter of dragging the package into the Applications folder. Starting up the app you get a control panel. To start a new Rails project, click the down arrow in the bottom left corner and select &#8220;Create New&#8221;. From there I created a project called &#8220;mydiary&#8221; in a rails directory of my home folder. So far so easy. Highlight the project in the Locomotive console, click run, and off it goes (it&#8217;s still empty of course). Browsing to http://localhost:3000/ gave the &#8220;Welcome to Rails&#8221; page expected. Beyond this though I became unstuck.</p>
<p>As detailed in both Beginning Ruby and on the Welcome to Rails page, the next thing you need to do is set up your database. With Locomotive installed, I should have MySQL running, but is it? I played about with this for a while and got nowhere near getting a basic app up and running. In truth, too, the Locomotive approach did leave a nagging doubt that I was missing some key understanding along the way.</p>
<p>So I returned to the manual method. I took a quick diversion first to look at <a title="Sakuzaku's Script" href="http://wearesakuzaku.com/goodie_basket/os_x_rails_auto_installation_pak" target="_blank">Sakuzaku&#8217;s script</a> that claims to automate the whole Hivelogic (Dan Benjamin) procedure. This could well be a nice compromise I thought. There&#8217;s some telling comments on the blog, however, from Dan himself pouring some rather icy water over doing it this way. I gave it a go though, but it all fell apart at the MySQL install. If you check out Sakuzaku&#8217;s page you&#8217;ll see mention of a possible MySQL error. This is pretty much what happened to me, but there is no obvious solution. So I ditched that too! There was nothing else for it: over to Hivelogic&#8230;</p>
<p>I&#8217;ll detail my experiences with Dan&#8217;s methods in <a title="Ruby on Rails Part 3" href="http://facetsquared.wordpress.com/2008/04/02/ruby-on-rails-a-newbies-journey-part-3/">Part 3</a>.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/facetsquared.wordpress.com/57/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/facetsquared.wordpress.com/57/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/facetsquared.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/facetsquared.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/facetsquared.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/facetsquared.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/facetsquared.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/facetsquared.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/facetsquared.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/facetsquared.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/facetsquared.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/facetsquared.wordpress.com/57/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=facetsquared.wordpress.com&blog=339464&post=57&subd=facetsquared&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://facetsquared.wordpress.com/2008/03/31/ruby-on-rails-a-newbies-journey-part-2/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/18e3492f1662d71f942f3727479985ad?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">godflesh</media:title>
		</media:content>
	</item>
		<item>
		<title>Ruby on Rails: A Newbie&#8217;s Journey, Part 1</title>
		<link>http://facetsquared.wordpress.com/2008/03/30/ruby-on-rails-a-newbies-journey-part-1/</link>
		<comments>http://facetsquared.wordpress.com/2008/03/30/ruby-on-rails-a-newbies-journey-part-1/#comments</comments>
		<pubDate>Sun, 30 Mar 2008 20:11:27 +0000</pubDate>
		<dc:creator>godflesh</dc:creator>
				<category><![CDATA[web design]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[dhtml]]></category>
		<category><![CDATA[dom]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://facetsquared.wordpress.com/?p=56</guid>
		<description><![CDATA[For various reasons, not least attempting to &#8220;Ajaxify&#8221; my web design skills, I have embarked upon learning Ruby on Rails. Most, if not all, of this is pretty new to me. I don&#8217;t know a great deal (OK, make that nothing) about object-oriented (OO) programming, JavaScript I tend to fly by the seat of pants [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=facetsquared.wordpress.com&blog=339464&post=56&subd=facetsquared&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>For various reasons, not least attempting to &#8220;Ajaxify&#8221; my web design skills, I have embarked upon learning Ruby on Rails. Most, if not all, of this is pretty new to me. I don&#8217;t know a great deal (OK, make that nothing) about object-oriented (OO) programming, JavaScript I tend to fly by the seat of pants with (but they tell me Rails will do it all for me&#8230;), and the concepts of frameworks and model-view-control patterns are about as alien as wee green men. The philosophy, though, I think I&#8217;m pretty comfortable with and I tend to get excited about it so that&#8217;s got to be a good thing. Also I think I&#8217;ve pretty much cracked XHTML and CSS and the whole web standards and usability thing so I reckon I&#8217;m on the right track. So what I intend to do here is track my experiences, both for my own benefit and perhaps to help others who find themselves in the same position as me. There&#8217;s a whole host of guides out there (some of which I&#8217;ll come to later) but hopefully my insights will add a little flavour to the mix.</p>
<p>So where to start? The thing that struck me at the outset was I didn&#8217;t actually know what I didn&#8217;t know. That probably doesn&#8217;t make sense, but I guess what I mean is I didn&#8217;t really know how the things that I<i> did</i> know fitted into the overall jigsaw. So what did I know?</p>
<ul>
<li>There&#8217;s an object-oriented programming language called Ruby that&#8217;s supposed to be cool and easy to learn. Hah!</li>
<li>There&#8217;s a &#8220;thing&#8221; called Ruby on Rails developed by some genius at <a href="http://www.37signals.com" title="37signals" target="_blank">37signals.com</a> which forms the basis of new emerging &#8220;web 2.0&#8243; type applications. I even use their Highrise and Backpack apps.</li>
<li>Ajax (Asynchronous JavaScript and XML) makes things even better; the fact that you don&#8217;t need page reloads is the killer here. I knew too that there was a seminal article about this somewhere&#8230;</li>
<li>I had a hunch that my previous attempts at learning PHP, Perl and CGI may just have been a waste of time.</li>
<li>All of this means you can do some really fancy stuff with your web pages (drag and drop anyone?).</li>
</ul>
<p>Fitting all of this together with my knowledge of (X)HTML, DHTML and CSS was, and still is, the challenge. The first thing I wanted to be clear about was where Ajax fitted into the mix. Jason Cranford Teague&#8217;s <a href="http://www.webbedenvironments.com/css_dhtml_ajax/" title="CSS, DHTML and Ajax" target="_blank">CSS, DHTML and Ajax</a> was great for this. I&#8217;ve followed Jason&#8217;s stuff for many years &#8211; back to his columns in The Independent in the late 90s &#8211; and always found him easy to read. The initial chapters of the book were going over old ground for me, but that was reassuring as I felt I was hitting Ajax at the right level. After reading this I was pretty happy with the connections between page layout using XHMTL and CSS and dynamically serving the content through the Document Object Model (DOM)/JavaScript and the XMLHttpRequest object: the fundamentals of what we know as Ajax. Heh, I&#8217;m getting  somewhere.</p>
<p>My next port of call was the official <a href="http://www.rubyonrails.com" title="Ruby On Rails" target="_blank">Ruby on Rails site</a>. I skimmed around there for a while looking at site examples etc (I even managed to divert my attention to setting up a <a href="http://www.shopify.com" title="Shopify" target="_blank">shopify.com</a> site) and trying to get some guidance on what books or tutorials I needed. I found <a href="http://poignantguide.net/ruby/">why&#8217;s (poignant) guide to Ruby</a> pretty good fun and a good place to start learning the basics of OO programming, however I&#8217;m a book kinda person so I headed to Amazon.</p>
<p>The reviews on Amazon can be a pretty good indicator to the usefulness of a book, especially in giving an idea of the &#8220;level&#8221; it is aimed at. The standard textbook for learning Ruby is known as the <a href="http://www.amazon.co.uk/Programming-Ruby-Pragmatic-Programmers-Second/dp/0974514055/ref=pd_bxgy_b_img_b" title="Pickaxe Book" target="_blank">&#8220;pickaxe&#8221; book</a>, because it has, erm, a pickaxe on the cover, but <a href="http://www.amazon.co.uk/Beginning-Ruby-Experts-Voice-Source/dp/1590597664/ref=pd_sbs_b_img_3" title="Beginning Ruby" target="_blank">Beginning Ruby</a> by Peter Cooper looked a better bet for an OO novice like myself. The pickaxe book is over 3 years old now, too, and I have a general rule of not buying textbooks this old, especially in such a fast-changing environment as web design. So that&#8217;s Ruby taken care of. Next up was Ruby on Rails, or just Rails as it is often referred to. There&#8217;s a few books on this but <a href="http://www.amazon.co.uk/Ajax-Rails-Scott-Raymond/dp/0596527446/ref=sr_1_1?ie=UTF8&amp;s=books&amp;qid=1206906559&amp;sr=1-1" title="Ajax on Rails">Ajax on Rails</a> by Scott Raymond had the appeal of killing two birds with one stone. It&#8217;s an <a href="http://www.oreilly.com" title="O'Reilly" target="_blank">O&#8217;Reilly</a> book too: you can&#8217;t go wrong with O&#8217;Reilly.</p>
<p>So these books landed on my doormat the other day and I&#8217;ve pretty much finished reading through both of them and I&#8217;ve even messed around with Ruby itself for a while using the Ruby interactive interpreter (&#8220;irb&#8221;) on my Mac; Ruby is installed by default on Mac OS X. But more of that later. At this point I think I may be missing some deeper understanding of both Rails and Ajax but I kind of want to get dirty with some apps under development and then seek further help where I best need it. <a href="http://www.amazon.co.uk/Agile-Development-Rails-Pragmatic-Programmers/dp/0977616630/ref=pd_sim_b_img_1" title="Agile Web Dev with Rails" target="_blank">Agile Web Development with Rails</a> and the brand new <a href="http://www.amazon.co.uk/Ajax-Definitive-Guide-Anthony-Holdener/dp/0596528388/ref=sr_1_5?ie=UTF8&amp;s=books&amp;qid=1206906479&amp;sr=1-5" title="The Definitive Guide" target="_blank">Ajax: The Definitive Guide</a> look favourites at the moment. But for now, I&#8217;m going to see where I&#8217;m at.</p>
<p>Next time (<a href="http://facetsquared.wordpress.com/2008/03/31/ruby-on-rails-a-newbies-journey-part-2/" title="Ruby on Rails Part 2">Part 2</a>) I&#8217;ll relate my experiences with beginning programming in Ruby and installing Ruby on Rails.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/facetsquared.wordpress.com/56/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/facetsquared.wordpress.com/56/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/facetsquared.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/facetsquared.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/facetsquared.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/facetsquared.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/facetsquared.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/facetsquared.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/facetsquared.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/facetsquared.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/facetsquared.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/facetsquared.wordpress.com/56/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=facetsquared.wordpress.com&blog=339464&post=56&subd=facetsquared&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://facetsquared.wordpress.com/2008/03/30/ruby-on-rails-a-newbies-journey-part-1/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/18e3492f1662d71f942f3727479985ad?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">godflesh</media:title>
		</media:content>
	</item>
		<item>
		<title>&#8220;Going to Wemberly&#8230;&#8221;</title>
		<link>http://facetsquared.wordpress.com/2008/03/08/going-to-wemberly/</link>
		<comments>http://facetsquared.wordpress.com/2008/03/08/going-to-wemberly/#comments</comments>
		<pubDate>Sat, 08 Mar 2008 22:43:59 +0000</pubDate>
		<dc:creator>godflesh</dc:creator>
				<category><![CDATA[general]]></category>
		<category><![CDATA[cup shock]]></category>
		<category><![CDATA[fa cup]]></category>
		<category><![CDATA[underdog]]></category>

		<guid isPermaLink="false">http://facetsquared.wordpress.com/?p=55</guid>
		<description><![CDATA[With Killie having an out-of-the-cup day off (and the possibility of taking in the Stirling v Dunfermline game scuppered by a waterlogged pitch), it was interesting to catch the day&#8217;s FA Cup matches. So a big well-done to Barnsley who managed to knock out the holders and money-drenched superstars of Chelsea 1-0. Nice to see [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=facetsquared.wordpress.com&blog=339464&post=55&subd=facetsquared&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>With Killie having an out-of-the-cup day off (and the possibility of taking in the Stirling v Dunfermline game scuppered by a waterlogged pitch), it was interesting to catch the day&#8217;s FA Cup matches. So a big well-done to Barnsley who managed to knock out the holders and money-drenched superstars of Chelsea 1-0. Nice to see that good old hard work can overcome the longest of odds. Well done too to Portsmouth who disposed of Man Utd at Old Trafford thanks to some incredible defending and a penalty &#8211; taken against stand-in keeper Rio Ferdinand. Old Fergie had a right moan about refs after the game but that&#8217;s what he does. The phrase gracious in defeat isn&#8217;t one of his favourites.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/facetsquared.wordpress.com/55/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/facetsquared.wordpress.com/55/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/facetsquared.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/facetsquared.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/facetsquared.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/facetsquared.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/facetsquared.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/facetsquared.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/facetsquared.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/facetsquared.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/facetsquared.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/facetsquared.wordpress.com/55/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=facetsquared.wordpress.com&blog=339464&post=55&subd=facetsquared&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://facetsquared.wordpress.com/2008/03/08/going-to-wemberly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/18e3492f1662d71f942f3727479985ad?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">godflesh</media:title>
		</media:content>
	</item>
		<item>
		<title>Meat by Joseph D&#8217;Lacey</title>
		<link>http://facetsquared.wordpress.com/2008/03/06/meat-by-joseph-dlacey/</link>
		<comments>http://facetsquared.wordpress.com/2008/03/06/meat-by-joseph-dlacey/#comments</comments>
		<pubDate>Thu, 06 Mar 2008 22:30:38 +0000</pubDate>
		<dc:creator>godflesh</dc:creator>
				<category><![CDATA[books]]></category>
		<category><![CDATA[horror]]></category>
		<category><![CDATA[recommendations]]></category>

		<guid isPermaLink="false">http://facetsquared.wordpress.com/?p=54</guid>
		<description><![CDATA[I&#8217;ve just finished reading Meat, the debut horror novel by Joseph D&#8217;Lacey, and have to highly recommend it. Plenty of gore and an interesting take on the food-processing debate, even if the central thesis is signposted rather too obviously. A warning though: it may just turn you vegetarian. Check it out at the author&#8217;s web [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=facetsquared.wordpress.com&blog=339464&post=54&subd=facetsquared&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I&#8217;ve just finished reading <i>Meat</i>, the debut horror novel by Joseph D&#8217;Lacey, and have to highly recommend it. Plenty of gore and an interesting take on the food-processing debate, even if the central thesis is signposted rather too obviously. A warning though: it may just turn you vegetarian. Check it out at the <a href="http://www.dzine7studios.co.uk/jose/novals.asp" title="Joseph D'Lacey's Web Site" target="_blank">author&#8217;s web site</a>. I look forward to more from this guy.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/facetsquared.wordpress.com/54/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/facetsquared.wordpress.com/54/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/facetsquared.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/facetsquared.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/facetsquared.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/facetsquared.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/facetsquared.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/facetsquared.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/facetsquared.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/facetsquared.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/facetsquared.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/facetsquared.wordpress.com/54/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=facetsquared.wordpress.com&blog=339464&post=54&subd=facetsquared&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://facetsquared.wordpress.com/2008/03/06/meat-by-joseph-dlacey/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/18e3492f1662d71f942f3727479985ad?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">godflesh</media:title>
		</media:content>
	</item>
	</channel>
</rss>