<?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>fiveclouds &#187; haml</title>
	<atom:link href="http://www.fiveclouds.com/tag/haml/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.fiveclouds.com</link>
	<description>collaboration, creativity and the next big thing</description>
	<lastBuildDate>Tue, 25 May 2010 11:06:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Learning a little Ruby every day</title>
		<link>http://www.fiveclouds.com/2008/04/09/learning-a-little-ruby-every-day/</link>
		<comments>http://www.fiveclouds.com/2008/04/09/learning-a-little-ruby-every-day/#comments</comments>
		<pubDate>Wed, 09 Apr 2008 21:05:06 +0000</pubDate>
		<dc:creator>Philip</dc:creator>
				<category><![CDATA[technology]]></category>
		<category><![CDATA[haml]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://www.fiveclouds.com/?p=35</guid>
		<description><![CDATA[<p>While I still have a lot going one I have been trying to get more time to pick up on Ruby and Rails.  I have to admit coming from a long history of statically typed languages it has taken a bit of time,  and losing the code completion of the Eclipse IDE that I have been using for Java development for so long took its toll.  Still I have to admit I&#8217;m enjoying the language more every day.</p>
<p>Some of the nice components I&#8217;ve seen included the ability to sum calculated values from arrays where the method is accessing the&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>While I still have a lot going one I have been trying to get more time to pick up on Ruby and Rails.  I have to admit coming from a long history of statically typed languages it has taken a bit of time,  and losing the code completion of the Eclipse IDE that I have been using for Java development for so long took its toll.  Still I have to admit I&#8217;m enjoying the language more every day.</p>
<p>Some of the nice components I&#8217;ve seen included the ability to sum calculated values from arrays where the method is accessing the ActiveRecord fields on the same object.</p>
<pre><code class="ruby">
def sum_invoices
 invoices.to_a.sum(&#038;:invoice_total)
end
</code></pre>
<p>Also I have been working with <a href="http://haml.hamptoncatlin.com/">HAML</a> after being introduced to it by one of the team and while it does take me back a little to all those Java templating languages and I now see how useful it is in pushing people toward using CSS.</p>
<p>Other nice little features I have been picking up on include using <a href="http://manuals.rubyonrails.com/read/chapter/26">ruby in fixtures</a> which includes being able to create large number amounts of test data.  As I get more into it the rewarding part the pace of my development appears to be picking up :)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fiveclouds.com/2008/04/09/learning-a-little-ruby-every-day/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
