<?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>Citizensheep &#187; ruby</title>
	<atom:link href="http://citizensheep.com/blog/tag/ruby/feed/" rel="self" type="application/rss+xml" />
	<link>http://citizensheep.com/blog</link>
	<description>Michael Grimes lives in Birmingham (UK). This is his blog about anything that he fancies.</description>
	<lastBuildDate>Sun, 05 Feb 2012 23:40:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Creating Database-driven Apps with Sinatra</title>
		<link>http://citizensheep.com/blog/2010/08/20/hello-sinatra-using-sinatra-in-ruby/</link>
		<comments>http://citizensheep.com/blog/2010/08/20/hello-sinatra-using-sinatra-in-ruby/#comments</comments>
		<pubDate>Fri, 20 Aug 2010 12:00:12 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Sheep Dip]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[sinatra]]></category>
		<category><![CDATA[web2.0]]></category>
		<category><![CDATA[webdesign]]></category>

		<guid isPermaLink="false">http://citizensheep.com/blog/2010/08/20/hello-sinatra-using-sinatra-in-ruby/</guid>
		<description><![CDATA[Sinatra itself has useful help pages, but (so far) this the best tutorial I&#8217;ve found. Creating Database-driven Apps with Sinatra Possibly related posts A Beginner&#39;s Sinatra Tutorial DIYcity: reinventing your city by building web apps Nibbler &#8211; take a taste of your website<ul id="related_posts">
			<li>
					<h4>Possibly related posts</h4>
				 <ol>
								<li>
									<a href="http://citizensheep.com/blog/2010/05/31/a-beginners-sinatra-tutorial/" rel="bookmark">A Beginner&#39;s Sinatra Tutorial</a><!-- (71)-->
							</li>
								<li>
									<a href="http://citizensheep.com/blog/2009/01/16/sheep-dip-16-january-2009/" rel="bookmark">DIYcity: reinventing your city by building web apps</a><!-- (14.8)-->
							</li>
								<li>
									<a href="http://citizensheep.com/blog/2010/03/29/nibbler-take-a-taste-of-your-website/" rel="bookmark">Nibbler &#8211; take a taste of your website</a><!-- (8.5)-->
							</li>
					</ol>
			</li>
	</ul>]]></description>
			<content:encoded><![CDATA[<p>Sinatra itself has useful help pages, but (so far) this the best tutorial I&#8217;ve found.</p>
<p><strong><a href="http://ruby.about.com/od/sinatra/a/sinatra7.htm">Creating Database-driven Apps with Sinatra</a></strong></p>
<ul id="related_posts">
			<li>
					<h4>Possibly related posts</h4>
				 <ol>
								<li>
									<a href="http://citizensheep.com/blog/2010/05/31/a-beginners-sinatra-tutorial/" rel="bookmark">A Beginner&#39;s Sinatra Tutorial</a><!-- (71)-->
							</li>
								<li>
									<a href="http://citizensheep.com/blog/2009/01/16/sheep-dip-16-january-2009/" rel="bookmark">DIYcity: reinventing your city by building web apps</a><!-- (14.8)-->
							</li>
								<li>
									<a href="http://citizensheep.com/blog/2010/03/29/nibbler-take-a-taste-of-your-website/" rel="bookmark">Nibbler &#8211; take a taste of your website</a><!-- (8.5)-->
							</li>
					</ol>
			</li>
	</ul>]]></content:encoded>
			<wfw:commentRss>http://citizensheep.com/blog/2010/08/20/hello-sinatra-using-sinatra-in-ruby/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Beginner&#039;s Sinatra Tutorial</title>
		<link>http://citizensheep.com/blog/2010/05/31/a-beginners-sinatra-tutorial/</link>
		<comments>http://citizensheep.com/blog/2010/05/31/a-beginners-sinatra-tutorial/#comments</comments>
		<pubDate>Mon, 31 May 2010 17:00:11 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Sheep Dip]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[sinatra]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[tutorials]]></category>

		<guid isPermaLink="false">http://citizensheep.com/blog/2010/05/31/a-beginners-sinatra-tutorial/</guid>
		<description><![CDATA[In my desperate attempt to grapple with Ruby people keep introducing me to new and &#39;better&#39; ways to use it, before I&#39;ve had a chance to understand what I was doing with the previous one they lauded. Currently under my nose is Sinatra, which would probably be great if I understood what I was doing. [...]<ul id="related_posts">
			<li>
					<h4>Possibly related posts</h4>
				 <ol>
								<li>
									<a href="http://citizensheep.com/blog/2010/08/20/hello-sinatra-using-sinatra-in-ruby/" rel="bookmark">Creating Database-driven Apps with Sinatra</a><!-- (59)-->
							</li>
								<li>
									<a href="http://citizensheep.com/blog/2010/04/22/2293/" rel="bookmark">Ruby on Rails beginners club in Birmingham: are you interested?</a><!-- (24.6)-->
							</li>
								<li>
									<a href="http://citizensheep.com/blog/2009/01/26/31-days-to-building-a-better-blog/" rel="bookmark">31 Days to Building a Better Blog</a><!-- (11.3)-->
							</li>
					</ol>
			</li>
	</ul>]]></description>
			<content:encoded><![CDATA[<p>In my desperate attempt to grapple with Ruby people keep introducing me to new and &#39;better&#39; ways to use it, before I&#39;ve had a chance to understand what I was doing with the previous one they lauded. Currently under my nose is Sinatra, which would probably be great if I understood what I was doing. Anyway, this tutorial seems to make more sense than Sinatra&#39;s own help pages.</p>
<p><a href="http://titusd.co.uk/2010/04/07/a-beginners-sinatra-tutorial" title="A Beginner&#39;s Sinatra Tutorial">Visit <strong>A Beginner&#39;s Sinatra Tutorial</strong></a></p>
<ul id="related_posts">
			<li>
					<h4>Possibly related posts</h4>
				 <ol>
								<li>
									<a href="http://citizensheep.com/blog/2010/08/20/hello-sinatra-using-sinatra-in-ruby/" rel="bookmark">Creating Database-driven Apps with Sinatra</a><!-- (59)-->
							</li>
								<li>
									<a href="http://citizensheep.com/blog/2010/04/22/2293/" rel="bookmark">Ruby on Rails beginners club in Birmingham: are you interested?</a><!-- (24.6)-->
							</li>
								<li>
									<a href="http://citizensheep.com/blog/2009/01/26/31-days-to-building-a-better-blog/" rel="bookmark">31 Days to Building a Better Blog</a><!-- (11.3)-->
							</li>
					</ol>
			</li>
	</ul>]]></content:encoded>
			<wfw:commentRss>http://citizensheep.com/blog/2010/05/31/a-beginners-sinatra-tutorial/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Scratching my head over Rails</title>
		<link>http://citizensheep.com/blog/2010/05/17/scratching-my-head-over-rails/</link>
		<comments>http://citizensheep.com/blog/2010/05/17/scratching-my-head-over-rails/#comments</comments>
		<pubDate>Mon, 17 May 2010 08:20:34 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Help!]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[rubyonrails]]></category>
		<category><![CDATA[Technology/Internet]]></category>
		<category><![CDATA[web2.0]]></category>
		<category><![CDATA[webdesign]]></category>

		<guid isPermaLink="false">http://citizensheep.com/blog/?p=2379</guid>
		<description><![CDATA[I&#8217;m trying to teach myself Rails, but I&#8217;m not even a programmer. So when I&#8217;m stumped, I&#8217;m fairly stumped. Currently my app is not saving form data when it should be, and redirecting when it shouldn&#8217;t. Update I&#8217;ve actually fixed this now. It was the &#8216;home_path&#8217; route that was causing the problems. Thanks to everyone [...]<ul id="related_posts">
			<li>
					<h4>Possibly related posts</h4>
				 <ol>
								<li>
									<a href="http://citizensheep.com/blog/2010/04/22/2293/" rel="bookmark">Ruby on Rails beginners club in Birmingham: are you interested?</a><!-- (26)-->
							</li>
								<li>
									<a href="http://citizensheep.com/blog/2009/11/01/learn-to-program-using-ruby/" rel="bookmark">Learn to Program (using Ruby)</a><!-- (12.3)-->
							</li>
								<li>
									<a href="http://citizensheep.com/blog/2009/03/10/wherefore-art-romeo-and-juliet-on-twitter/" rel="bookmark">Wherefore art Romeo and Juliet on Twitter?</a><!-- (5.1)-->
							</li>
					</ol>
			</li>
	</ul>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m trying to teach myself Rails, but I&#8217;m not even a programmer. So when I&#8217;m stumped, I&#8217;m fairly stumped. Currently my app is not saving form data when it should be, and redirecting when it shouldn&#8217;t.</p>
<div id="update" style="padding:1em; background-color:#ffc; margin-top:1em;">
<p style="margin-top:0;"><strong>Update</strong></p>
<p>I&#8217;ve actually fixed this now. It was the &#8216;home_path&#8217; route that was causing the problems. Thanks to everyone who made suggestions on Twitter, and particularly Josh Hart for thrashing it out with me over a coffee.</p>
</div>
<p>I&#8217;ve had a few suggestions via Twitter, but still can&#8217;t get it to work. If you happen to be a Rails developer I&#8217;d be eternally grateful for any advice on the code below (for some reason the embedding seems to be screwing up the line numbering).</p>
<p><script src='http://pastie.org/963396.js'></script></p>
<ul id="related_posts">
			<li>
					<h4>Possibly related posts</h4>
				 <ol>
								<li>
									<a href="http://citizensheep.com/blog/2010/04/22/2293/" rel="bookmark">Ruby on Rails beginners club in Birmingham: are you interested?</a><!-- (26)-->
							</li>
								<li>
									<a href="http://citizensheep.com/blog/2009/11/01/learn-to-program-using-ruby/" rel="bookmark">Learn to Program (using Ruby)</a><!-- (12.3)-->
							</li>
								<li>
									<a href="http://citizensheep.com/blog/2009/03/10/wherefore-art-romeo-and-juliet-on-twitter/" rel="bookmark">Wherefore art Romeo and Juliet on Twitter?</a><!-- (5.1)-->
							</li>
					</ol>
			</li>
	</ul>]]></content:encoded>
			<wfw:commentRss>http://citizensheep.com/blog/2010/05/17/scratching-my-head-over-rails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ruby on Rails beginners club in Birmingham: are you interested?</title>
		<link>http://citizensheep.com/blog/2010/04/22/2293/</link>
		<comments>http://citizensheep.com/blog/2010/04/22/2293/#comments</comments>
		<pubDate>Thu, 22 Apr 2010 12:00:57 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Birmingham]]></category>
		<category><![CDATA[Events]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[informal learning]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[learning]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[rubyonrails]]></category>

		<guid isPermaLink="false">http://citizensheep.com/blog/?p=2293</guid>
		<description><![CDATA[For months I&#8217;ve been having conversations with people about how we should set up a Rails beginners group in Birmingham, so now I&#8217;m actually going to do it. I realise that even among beginners there will be a wide range of expertise levels. Therefore I ask attenders to have at least started trying to write [...]<ul id="related_posts">
			<li>
					<h4>Possibly related posts</h4>
				 <ol>
								<li>
									<a href="http://citizensheep.com/blog/2010/05/17/scratching-my-head-over-rails/" rel="bookmark">Scratching my head over Rails</a><!-- (7.5)-->
							</li>
								<li>
									<a href="http://citizensheep.com/blog/2009/11/01/learn-to-program-using-ruby/" rel="bookmark">Learn to Program (using Ruby)</a><!-- (6.8)-->
							</li>
					</ol>
			</li>
	</ul>]]></description>
			<content:encoded><![CDATA[<p>For months I&#8217;ve been having conversations with people about how we should set up a Rails beginners group in Birmingham, so now I&#8217;m actually going to do it.</p>
<p>I realise that even among beginners there will be a wide range of expertise levels. Therefore I ask attenders to have at least started trying to write a Rails application.</p>
<p>It doesn&#8217;t matter how far you&#8217;ve got with it – you may only be halfway through the first page of a tutorial and are stuck trying to install something – but this approach should give everyone a context for being there. In other words: rather than trying to learn together from different starting points, we can each bring a problem that we need help with and collaborate on concrete goals.</p>
<h4>When?</h4>
<p><span style="text-decoration: line-through;">If you&#8217;re interested please <a href="http://www.doodle.com/qaqx8twu3xni2nvg">indicate on Doodle your preferred times for a first meeting</a>.</span></p>
<h5>Update</h5>
<p>The most popular time for a first meeting was <a title="Ruby on Rails Birmingham beginners club, on upcoming.yahoo.com" href="http://upcoming.yahoo.com/event/5741824/gb/Birmingham/Ruby-on-Rails-beginners-club/TBC/us/Birmingham/Ruby-on-Rails-beginners-club/TBC/">7.00pm on Tuesday 4 May</a>, so that&#8217;s when it will be.</p>
<h4>Where?</h4>
<p>The first meeting is being held in Room B225, <a href="http://mediacourses.com/find.asp">Birmingham School of Media, Perry Barr</a>. (Many thanks to Paul Bradshaw for arranging the room.)</p>
<p>We&#8217;ll see how this first one goes, but we might try for any subsequnt meets to be more central. If you have any suggestions let me know in the comments below. We need a space that:</p>
<ul>
<li> is free to use;</li>
<li> is available late on weekdays;</li>
<li> has free, reliable wifi;</li>
<li> can comfortably accommodate a number of people working together, without disturbing others.</li>
</ul>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 290px; width: 1px; height: 1px; overflow: hidden;"><a href="http://mediacourses.com/find.asp">http://mediacourses.com/find.asp</a></div>
<ul id="related_posts">
			<li>
					<h4>Possibly related posts</h4>
				 <ol>
								<li>
									<a href="http://citizensheep.com/blog/2010/05/17/scratching-my-head-over-rails/" rel="bookmark">Scratching my head over Rails</a><!-- (7.5)-->
							</li>
								<li>
									<a href="http://citizensheep.com/blog/2009/11/01/learn-to-program-using-ruby/" rel="bookmark">Learn to Program (using Ruby)</a><!-- (6.8)-->
							</li>
					</ol>
			</li>
	</ul>]]></content:encoded>
			<wfw:commentRss>http://citizensheep.com/blog/2010/04/22/2293/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>Learn to Program (using Ruby)</title>
		<link>http://citizensheep.com/blog/2009/11/01/learn-to-program-using-ruby/</link>
		<comments>http://citizensheep.com/blog/2009/11/01/learn-to-program-using-ruby/#comments</comments>
		<pubDate>Sun, 01 Nov 2009 07:00:02 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Sheep Dip]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[rubyonrails]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://citizensheep.com/blog/2009/11/01/learn-to-program-using-ruby/</guid>
		<description><![CDATA[I&#39;m trying to get my head around Ruby (and Rails, and HAML) and this is proving a good start. Obviously you need Ruby installed first (which wasn&#39;t all that straightforward, not in Windows at any rate), but once you&#39;ve done that it&#39;s quite enjoyable. Visit Learn to Program (using Ruby) Possibly related posts Ruby on [...]<ul id="related_posts">
			<li>
					<h4>Possibly related posts</h4>
				 <ol>
								<li>
									<a href="http://citizensheep.com/blog/2010/04/22/2293/" rel="bookmark">Ruby on Rails beginners club in Birmingham: are you interested?</a><!-- (25.1)-->
							</li>
								<li>
									<a href="http://citizensheep.com/blog/2010/05/31/a-beginners-sinatra-tutorial/" rel="bookmark">A Beginner&#39;s Sinatra Tutorial</a><!-- (19.1)-->
							</li>
								<li>
									<a href="http://citizensheep.com/blog/2010/08/20/hello-sinatra-using-sinatra-in-ruby/" rel="bookmark">Creating Database-driven Apps with Sinatra</a><!-- (15.6)-->
							</li>
					</ol>
			</li>
	</ul>]]></description>
			<content:encoded><![CDATA[<p>I&#39;m trying to get my head around Ruby (and Rails, and HAML) and this is proving a good start. Obviously you need Ruby installed first (which wasn&#39;t all that straightforward, not in Windows at any rate), but once you&#39;ve done that it&#39;s quite enjoyable.</p>
<p><a href="http://pine.fm/LearnToProgram/" title="Learn to Program (using Ruby)">Visit <strong>Learn to Program (using Ruby)</strong></a></p>
<ul id="related_posts">
			<li>
					<h4>Possibly related posts</h4>
				 <ol>
								<li>
									<a href="http://citizensheep.com/blog/2010/04/22/2293/" rel="bookmark">Ruby on Rails beginners club in Birmingham: are you interested?</a><!-- (25.1)-->
							</li>
								<li>
									<a href="http://citizensheep.com/blog/2010/05/31/a-beginners-sinatra-tutorial/" rel="bookmark">A Beginner&#39;s Sinatra Tutorial</a><!-- (19.1)-->
							</li>
								<li>
									<a href="http://citizensheep.com/blog/2010/08/20/hello-sinatra-using-sinatra-in-ruby/" rel="bookmark">Creating Database-driven Apps with Sinatra</a><!-- (15.6)-->
							</li>
					</ol>
			</li>
	</ul>]]></content:encoded>
			<wfw:commentRss>http://citizensheep.com/blog/2009/11/01/learn-to-program-using-ruby/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

