<?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>Den Of Ubiquity &#187; Ruby</title>
	<atom:link href="http://www.denofubiquity.com/tag/ruby/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.denofubiquity.com</link>
	<description>Buzzword-enriched Software Development Content</description>
	<lastBuildDate>Sun, 27 Sep 2009 20:10:41 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.3</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Running MySQL and RubyOnRails on Windows</title>
		<link>http://www.denofubiquity.com/ruby/running-mysql-and-rubyonrails-on-windows/</link>
		<comments>http://www.denofubiquity.com/ruby/running-mysql-and-rubyonrails-on-windows/#comments</comments>
		<pubDate>Sat, 21 Mar 2009 07:09:30 +0000</pubDate>
		<dc:creator>ijonas</dc:creator>
				<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[RubyOnRails]]></category>
		<category><![CDATA[Vista]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.denofubiquity.com/?p=165</guid>
		<description><![CDATA[If you&#8217;re trying to get RubyOnRails connected to MySQL on Windows Vista as we have done recently at Vamosa, then keep in mind that the current latest versions of MySQL and the MySQL gem are incompatible with each other.
At the time of writing, the current versions of MySQL is 5.1 and the MySQL gem is [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright" style="margin-left: 10px; margin-right: 10px; border: 0px initial initial;" title="RubyOnRails Logo" src="http://www.denofubiquity.com/wp-content/uploads/2009/03/rails.jpg" border="0" alt="rails.jpg" width="150" height="150" align="right" />If you&#8217;re trying to get RubyOnRails connected to MySQL on Windows Vista as we have done recently at <a href="http://www.vamosa.com">Vamosa</a>, then keep in mind that the current latest versions of MySQL and the MySQL gem are incompatible with each other.</p>
<p>At the time of writing, the current versions of MySQL is 5.1 and the MySQL gem is currently at version 2.7.3.</p>
<p>We were unable to get this combination to work together and ended up reverting to MySQL 5.0 and MySQL gem 2.7.1.</p>
<p><code>gem install -v "2.7.1" mysql</code></p>
<p>I don&#8217;t think you&#8217;re missing anything substantial from either MySQL 5.1 or the 2.7.3 gem.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.denofubiquity.com/ruby/running-mysql-and-rubyonrails-on-windows/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Quick and dirty RubyAndRails</title>
		<link>http://www.denofubiquity.com/software-development/quick-and-dirty-rubyandrails/</link>
		<comments>http://www.denofubiquity.com/software-development/quick-and-dirty-rubyandrails/#comments</comments>
		<pubDate>Sat, 28 Jun 2008 18:21:44 +0000</pubDate>
		<dc:creator>ijonas</dc:creator>
				<category><![CDATA[Software Development]]></category>
		<category><![CDATA[metaprogramming]]></category>
		<category><![CDATA[OO]]></category>
		<category><![CDATA[PeepCode]]></category>
		<category><![CDATA[pragmatic bookshelf]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[railscasts]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[RubyOnRails]]></category>
		<category><![CDATA[screencasts]]></category>

		<guid isPermaLink="false">http://ijonas.wordpress.com/?p=101</guid>
		<description><![CDATA[First of all, an admission&#8230; My name is Ijonas, I used to be a Java programmer. I&#8217;ve been clean for a year and a half. So much for my &#8220;Java Anonymous&#8221; meeting.
In that period I&#8217;ve been experimenting and pondering about Ruby and of course RubyOnRails. During such ponderings I&#8217;ve pondered why so many experienced Java [...]]]></description>
			<content:encoded><![CDATA[<p>First of all, an admission&#8230; My name is Ijonas, I used to be a Java programmer. I&#8217;ve been clean for a year and a half. So much for my &#8220;Java Anonymous&#8221; meeting.</p>
<p>In that period I&#8217;ve <img class="alignleft" style="margin:20px;" src="http://upload.wikimedia.org/wikipedia/commons/thumb/0/0d/Ruby_cristal.jpg/430px-Ruby_cristal.jpg" alt="Ruby Crystal" width="141" height="197" />been experimenting and pondering about <a href="http://ruby-lang.org/">Ruby</a> and of course <a href="http://rubyonrails.com/">RubyOnRails</a>. During such ponderings I&#8217;ve pondered why so many experienced Java programmers are jumping ship onto duck-typed languaged such as Ruby and <a href="http://python.org">Python</a> (of which I&#8217;m a massive fan).</p>
<p>I&#8217;m going to write a bunch of posts about Ruby and the impact on solving certain class of computing science problems, that I believe are now more readily or more elegantly solvable &#8211; hence my interest in the Ruby language.</p>
<p>But first I thought I&#8217;d share with you, what I think is possibly the easiest, quickest, and dirtiest way of getting a taste of Ruby and Rails.</p>
<p>First of all&#8230; tooling.</p>
<ul>
<li>If you&#8217;re on Mac OS X, buy a copy of <a href="http://macromates.com/">TextMate</a> and <a href="http://rubyonrails.com/down">download Rails 2.1</a>.</li>
<li>If you&#8217;re on Linux, download <a href="http://www.netbeans.org/features/ruby/index.html">NetBeans IDE for Ruby on Rails</a>, and download 2.1.</li>
<li>If you&#8217;re on Windows, get InstantRails, followed by <a href="http://www.netbeans.org/features/ruby/index.html">NetBeans</a> again&#8230; if you have to. But I would recommend getting an Ubuntu VM with Ruby 1.8.6, MySQL 5, Rails 2.1 and <a href="http://www.netbeans.org/features/ruby/index.html">NetBeans IDE</a> installed.</li>
</ul>
<p>Now&#8230; I wouldn&#8217;t bother buying any books until later&#8230;  I started off with books, but I find screencasts far better in conveying relevant &amp; concise information.</p>
<p>With that in mind I recommend you purchase the following screencasts:</p>
<ul>
<li><a href="http://peepcode.com/products/rails-from-scratch-part-i">Rails from Scratch &#8211; Part I</a></li>
<li><a href="http://peepcode.com/products/rails-from-scratch-part-ii">Rails from Scratch &#8211; Part II</a></li>
</ul>
<p>Both are from <a href="http://peepcode.com/">PeepCode</a>, last about an hour, and cost $9 each. Well worth it. I recommend starting with Rails as opposed to &#8220;Pure Ruby&#8221;, because that way you get to see some of Ruby&#8217;s magic applied in the familiar setting of building a webapp. Coming from Java, it&#8217;ll be quiet a refreshing experience &#8211; no more xml deployment descriptors.</p>
<p>Having watched both screencasts, you can start building Rails websites with some competence. However, you&#8217;ll run into quiet a few &#8220;How do I do that ?&#8221; questions early on, such as &#8220;How do I authenicate visitors to my site?&#8221;. And before you head off to Amazon or your local bookstore to buy a Rails Cookbook&#8230; I recommend you take a look at <a href="http://railscasts.com">Railscasts</a>, which is a free (donations welcome) video podcast providing really helpful solutions to common probems.</p>
<p>Next&#8230; you may want to take a look at how Ruby works underneath the covers and how some of its magic manifests itself in such advancements as domain-specific languages (DSL).</p>
<p>Having spent many years programming Java and C#, I found that the recent advancements in test-driven development, mock objects, continuous integration are all worthy pursuits but often these advancements fought with the friction caused by stronly typed languages, i.e. all that test code I was writing was pretty verbose and clunky. Ruby&#8217;s take on the aforementioned pursuits and approaches, is positively refreshing and enjoyable.</p>
<p>If you&#8217;ve ever questioned why the hell you should write a unit test before the implementation itself, take a look at <a href="http://rspec.info/">RSpec</a>. RSpec is another DSL, like Rails is a DSL, this time to facilitate the writing of specification, i.e. the expected behaviour of a software programme. First you describe how your app should behave, then you write the behaviour&#8230; It takes a few moments to get your head around why you would want to do so&#8230; but then the penny drops&#8230; and once again its magical! For a great intro into RSpec I can recommend another Peepcode screencast:</p>
<ul>
<li><a href="http://peepcode.com/products/rspec-basics">RSpec Basics</a></li>
</ul>
<p>Now if you&#8217;re anything like me&#8230; Java programmer or C# programmer&#8230; many years writing Enterprise applications&#8230; lots of XML&#8230; You probably know most of what there is to know about OO programming. Classes, interfaces, and object instances are your staple day-in day-out building blocks. You know about inner classes and anonymous methods but only use those if the moon is particularly blue.</p>
<p>Ruby&#8217;s take on &#8220;OO&#8221; borrows from many different OO languages and to fully appreciate some of the magic and how to cast your own Ruby spells, you need to look at Ruby&#8217;s object-oriented basics. To that end, I recommend downloading all five episodes (2.5 hours) of:</p>
<ul>
<li><a href="http://www.pragprog.com/screencasts/v-dtrubyom/the-ruby-object-model-and-metaprogramming">Ruby Object Model and Metaprogramming</a></li>
</ul>
<p>from the guys at Pragmantic Bookshelf, which will set you back a grant total of $25.</p>
<p>Consuming all this information will take some time&#8230; If you&#8217;ve got a &#8220;day job&#8221; that needs to pay the bills&#8230; you&#8217;ll probably take a week or two to really sift through and appreciate what amounts to a couple of days of screencasts.</p>
<p>All the screencasts I&#8217;ve mentioned are of the highest quality and provide amazing value for money&#8230; Far more so than the books I&#8217;ve purchased.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.denofubiquity.com/software-development/quick-and-dirty-rubyandrails/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
