<?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>Ruy Rocha &#187; Ruby</title>
	<atom:link href="http://ruyrocha.com/ruby/feed/" rel="self" type="application/rss+xml" />
	<link>http://ruyrocha.com</link>
	<description>it&#039;s a long way to the top if wanna rock and roll</description>
	<lastBuildDate>Tue, 31 Jan 2012 02:17:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Quando você dá um echo</title>
		<link>http://ruyrocha.com/quando-voce-da-um-echo/</link>
		<comments>http://ruyrocha.com/quando-voce-da-um-echo/#comments</comments>
		<pubDate>Thu, 03 Mar 2011 16:18:05 +0000</pubDate>
		<dc:creator>Ruy Rocha</dc:creator>
				<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://ruyrocha.com/?p=329</guid>
		<description><![CDATA[No lugar dum puts, em um script ruby, existe algo errado, ahua. Falando em echoes, somzeira: Tweet This Post Post to Delicious Digg This Post Post to Facebook Post to LinkedIn]]></description>
			<content:encoded><![CDATA[<p>No lugar dum puts, em um script ruby, existe algo errado, ahua.</p>
<p>Falando em echoes, somzeira:</p>
<p><object width="500" height="306"><param name="movie" value="http://www.youtube.com/v/KPXWKO-EBgc?version=3"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/KPXWKO-EBgc?version=3" type="application/x-shockwave-flash" width="500" height="306" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=Quando+voc%C3%AA+d%C3%A1+um+echo+http%3A%2F%2Fis.gd%2FiFbS6I" title="Post to Twitter"><img class="nothumb" src="http://ruyrocha.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="tt twitter Quando você dá um echo"  title="Quando você dá um echo" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=Quando+voc%C3%AA+d%C3%A1+um+echo+http%3A%2F%2Fis.gd%2FiFbS6I" title="Post to Twitter">Tweet This Post</a> <a target="_blank" rel="nofollow" class="tt" href="http://delicious.com/post?url=http://ruyrocha.com/quando-voce-da-um-echo/&amp;title=Quando+voc%C3%AA+d%C3%A1+um+echo" title="Post to Delicious"><img class="nothumb" src="http://ruyrocha.com/wp-content/plugins/tweet-this/icons/en/delicious/tt-delicious.png" alt="tt delicious Quando você dá um echo"  title="Quando você dá um echo" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://delicious.com/post?url=http://ruyrocha.com/quando-voce-da-um-echo/&amp;title=Quando+voc%C3%AA+d%C3%A1+um+echo" title="Post to Delicious">Post to Delicious</a> <a target="_blank" rel="nofollow" class="tt" href="http://digg.com/submit?url=http://ruyrocha.com/quando-voce-da-um-echo/&amp;title=Quando+voc%C3%AA+d%C3%A1+um+echo" title="Post to Digg"><img class="nothumb" src="http://ruyrocha.com/wp-content/plugins/tweet-this/icons/en/digg/tt-digg.png" alt="tt digg Quando você dá um echo"  title="Quando você dá um echo" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://digg.com/submit?url=http://ruyrocha.com/quando-voce-da-um-echo/&amp;title=Quando+voc%C3%AA+d%C3%A1+um+echo" title="Post to Digg">Digg This Post</a> <a target="_blank" rel="nofollow" class="tt" href="http://www.facebook.com/share.php?u=http://ruyrocha.com/quando-voce-da-um-echo/&amp;t=Quando+voc%C3%AA+d%C3%A1+um+echo" title="Post to Facebook"><img class="nothumb" src="http://ruyrocha.com/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook.png" alt="tt facebook Quando você dá um echo"  title="Quando você dá um echo" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://www.facebook.com/share.php?u=http://ruyrocha.com/quando-voce-da-um-echo/&amp;t=Quando+voc%C3%AA+d%C3%A1+um+echo" title="Post to Facebook">Post to Facebook</a> <a target="_blank" rel="nofollow" class="tt" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://ruyrocha.com/quando-voce-da-um-echo/&amp;title=Quando+voc%C3%AA+d%C3%A1+um+echo&amp;summary=No+lugar+dum+puts%2C+em+um+script+ruby%2C+existe+algo+errado%2C+ahua.%0D%0A%0D%0AFalando+em+echoes%2C+somzeira%3A%0D%0A%0D%0Ahttp%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DKPXWKO-EBgc&amp;source=Ruy Rocha" title="Post to LinkedIn"><img class="nothumb" src="http://ruyrocha.com/wp-content/plugins/tweet-this/icons/en/linkedin/tt-linkedin.png" alt="tt linkedin Quando você dá um echo"  title="Quando você dá um echo" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://ruyrocha.com/quando-voce-da-um-echo/&amp;title=Quando+voc%C3%AA+d%C3%A1+um+echo&amp;summary=No+lugar+dum+puts%2C+em+um+script+ruby%2C+existe+algo+errado%2C+ahua.%0D%0A%0D%0AFalando+em+echoes%2C+somzeira%3A%0D%0A%0D%0Ahttp%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DKPXWKO-EBgc&amp;source=Ruy Rocha" title="Post to LinkedIn">Post to LinkedIn</a></p></div><div class="al2fb_like_button"><div id="fb-root"></div><script src="http://connect.facebook.net/pt_BR/all.js#appId=159773440769970&amp;xfbml=1" type="text/javascript"></script>
<fb:like href="http://ruyrocha.com/quando-voce-da-um-echo/" send="true" layout="standard" show_faces="true" width="450" action="like" font="arial" colorscheme="light" ref="AL2FB"></fb:like></div>]]></content:encoded>
			<wfw:commentRss>http://ruyrocha.com/quando-voce-da-um-echo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>tweads: monitor prospective customers</title>
		<link>http://ruyrocha.com/tweads-monitor-prospective-customers/</link>
		<comments>http://ruyrocha.com/tweads-monitor-prospective-customers/#comments</comments>
		<pubDate>Thu, 03 Feb 2011 19:02:58 +0000</pubDate>
		<dc:creator>Ruy Rocha</dc:creator>
				<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://ruyrocha.com/?p=311</guid>
		<description><![CDATA[From Wikipedia: A sales lead, or Sales Lead, is the identity of a human or entity potentially interested in purchasing a product or service, and represents the first stage of a sales process. tweads will look for prospective customers on twitter. powered by ruby and padrino Tweet This Post Post to Delicious Digg This Post [...]]]></description>
			<content:encoded><![CDATA[<p>From Wikipedia:</p>
<blockquote><p>A <strong><a title="Sales Lead" href="http://en.wikipedia.org/wiki/Sales_lead">sales lead</a></strong>, or Sales Lead, is the identity of a human or entity  potentially interested in purchasing a product or service, and  represents the first stage of a <a title="Sales process" href="http://en.wikipedia.org/wiki/Sales_process">sales process</a>.</p></blockquote>
<p><strong>tweads</strong> will look for prospective customers on twitter. powered by ruby and padrino</p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=tweads%3A+monitor+prospective+customers+http%3A%2F%2Fis.gd%2FHxOTlt" title="Post to Twitter"><img class="nothumb" src="http://ruyrocha.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="tt twitter tweads: monitor prospective customers"  title="tweads: monitor prospective customers" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=tweads%3A+monitor+prospective+customers+http%3A%2F%2Fis.gd%2FHxOTlt" title="Post to Twitter">Tweet This Post</a> <a target="_blank" rel="nofollow" class="tt" href="http://delicious.com/post?url=http://ruyrocha.com/tweads-monitor-prospective-customers/&amp;title=tweads%3A+monitor+prospective+customers" title="Post to Delicious"><img class="nothumb" src="http://ruyrocha.com/wp-content/plugins/tweet-this/icons/en/delicious/tt-delicious.png" alt="tt delicious tweads: monitor prospective customers"  title="tweads: monitor prospective customers" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://delicious.com/post?url=http://ruyrocha.com/tweads-monitor-prospective-customers/&amp;title=tweads%3A+monitor+prospective+customers" title="Post to Delicious">Post to Delicious</a> <a target="_blank" rel="nofollow" class="tt" href="http://digg.com/submit?url=http://ruyrocha.com/tweads-monitor-prospective-customers/&amp;title=tweads%3A+monitor+prospective+customers" title="Post to Digg"><img class="nothumb" src="http://ruyrocha.com/wp-content/plugins/tweet-this/icons/en/digg/tt-digg.png" alt="tt digg tweads: monitor prospective customers"  title="tweads: monitor prospective customers" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://digg.com/submit?url=http://ruyrocha.com/tweads-monitor-prospective-customers/&amp;title=tweads%3A+monitor+prospective+customers" title="Post to Digg">Digg This Post</a> <a target="_blank" rel="nofollow" class="tt" href="http://www.facebook.com/share.php?u=http://ruyrocha.com/tweads-monitor-prospective-customers/&amp;t=tweads%3A+monitor+prospective+customers" title="Post to Facebook"><img class="nothumb" src="http://ruyrocha.com/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook.png" alt="tt facebook tweads: monitor prospective customers"  title="tweads: monitor prospective customers" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://www.facebook.com/share.php?u=http://ruyrocha.com/tweads-monitor-prospective-customers/&amp;t=tweads%3A+monitor+prospective+customers" title="Post to Facebook">Post to Facebook</a> <a target="_blank" rel="nofollow" class="tt" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://ruyrocha.com/tweads-monitor-prospective-customers/&amp;title=tweads%3A+monitor+prospective+customers&amp;summary=From+Wikipedia%3A%0D%0AA+sales+lead%2C+or+Sales+Lead%2C+is+the+identity+of+a+human+or+entity++potentially+interested+in+purchasing+a+product+or+service%2C+and+...&amp;source=Ruy Rocha" title="Post to LinkedIn"><img class="nothumb" src="http://ruyrocha.com/wp-content/plugins/tweet-this/icons/en/linkedin/tt-linkedin.png" alt="tt linkedin tweads: monitor prospective customers"  title="tweads: monitor prospective customers" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://ruyrocha.com/tweads-monitor-prospective-customers/&amp;title=tweads%3A+monitor+prospective+customers&amp;summary=From+Wikipedia%3A%0D%0AA+sales+lead%2C+or+Sales+Lead%2C+is+the+identity+of+a+human+or+entity++potentially+interested+in+purchasing+a+product+or+service%2C+and+...&amp;source=Ruy Rocha" title="Post to LinkedIn">Post to LinkedIn</a></p></div><div class="al2fb_like_button"><div id="fb-root"></div><script src="http://connect.facebook.net/pt_BR/all.js#appId=159773440769970&amp;xfbml=1" type="text/javascript"></script>
<fb:like href="http://ruyrocha.com/tweads-monitor-prospective-customers/" send="true" layout="standard" show_faces="true" width="450" action="like" font="arial" colorscheme="light" ref="AL2FB"></fb:like></div>]]></content:encoded>
			<wfw:commentRss>http://ruyrocha.com/tweads-monitor-prospective-customers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>No space left on device &#8211; go check your inodes!</title>
		<link>http://ruyrocha.com/no-space-left-on-device-go-check-your-inodes/</link>
		<comments>http://ruyrocha.com/no-space-left-on-device-go-check-your-inodes/#comments</comments>
		<pubDate>Wed, 05 Jan 2011 08:40:37 +0000</pubDate>
		<dc:creator>Ruy Rocha</dc:creator>
				<category><![CDATA[Ruby]]></category>
		<category><![CDATA[check inodes]]></category>
		<category><![CDATA[inode usage]]></category>
		<category><![CDATA[no space left on device]]></category>
		<category><![CDATA[pony]]></category>

		<guid isPermaLink="false">http://ruyrocha.com/?p=224</guid>
		<description><![CDATA[With ruby, to be sexy: ino.rb #!/usr/bin/env ruby require 'rubygems' require 'pony' &#160; hostname = `hostname -f`.strip disk_usage = `df -i` disks = disk_usage.split&#40;/\n/&#41; disks.shift body = &#34;&#34; disks.each do &#124;disk&#124; disk = disk.scan&#40;/&#40;\w+&#124;\W+\w+\b.*?&#41; .* &#40;\d+&#41;% &#40;.*&#41;/&#41;&#91;0&#93; body = body + &#34;Device #{disk[0]} mounted on #{disk[2]} - #{disk[1]}%&#34; + &#34;\n&#34; if disk&#91;1&#93;.to_i &#62; 80 end [...]]]></description>
			<content:encoded><![CDATA[<p>With ruby, to be sexy:</p>
<p>ino.rb</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;"><span style="color:#008000; font-style:italic;">#!/usr/bin/env ruby</span>
<span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">'rubygems'</span>
<span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">'pony'</span>
&nbsp;
hostname = <span style="color:#996600;">`hostname -f`</span>.<span style="color:#9900CC;">strip</span>
disk_usage = <span style="color:#996600;">`df -i`</span>
disks = disk_usage.<span style="color:#CC0066; font-weight:bold;">split</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">/</span>\n<span style="color:#006600; font-weight:bold;">/</span><span style="color:#006600; font-weight:bold;">&#41;</span>
disks.<span style="color:#9900CC;">shift</span>
body = <span style="color:#996600;">&quot;&quot;</span>
disks.<span style="color:#9900CC;">each</span> <span style="color:#9966CC; font-weight:bold;">do</span> <span style="color:#006600; font-weight:bold;">|</span>disk<span style="color:#006600; font-weight:bold;">|</span>
  disk = disk.<span style="color:#9900CC;">scan</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">/</span><span style="color:#006600; font-weight:bold;">&#40;</span>\w<span style="color:#006600; font-weight:bold;">+|</span>\W<span style="color:#006600; font-weight:bold;">+</span>\w<span style="color:#006600; font-weight:bold;">+</span>\b.<span style="color:#006600; font-weight:bold;">*</span>?<span style="color:#006600; font-weight:bold;">&#41;</span> .<span style="color:#006600; font-weight:bold;">*</span> <span style="color:#006600; font-weight:bold;">&#40;</span>\d<span style="color:#006600; font-weight:bold;">+</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">%</span> <span style="color:#006600; font-weight:bold;">&#40;</span>.<span style="color:#006600; font-weight:bold;">*</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">/</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#006666;">0</span><span style="color:#006600; font-weight:bold;">&#93;</span>
  body = body <span style="color:#006600; font-weight:bold;">+</span> <span style="color:#996600;">&quot;Device #{disk[0]} mounted on #{disk[2]} - #{disk[1]}%&quot;</span> <span style="color:#006600; font-weight:bold;">+</span> <span style="color:#996600;">&quot;<span style="color:#000099;">\n</span>&quot;</span> <span style="color:#9966CC; font-weight:bold;">if</span> disk<span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#006666;">1</span><span style="color:#006600; font-weight:bold;">&#93;</span>.<span style="color:#9900CC;">to_i</span> <span style="color:#006600; font-weight:bold;">&gt;</span> <span style="color:#006666;">80</span>
<span style="color:#9966CC; font-weight:bold;">end</span>
&nbsp;
<span style="color:#9966CC; font-weight:bold;">unless</span> body.<span style="color:#9900CC;">empty</span>?
  Pony.<span style="color:#9900CC;">mail</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#ff3333; font-weight:bold;">:to</span> <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#996600;">'you@example.com'</span>, <span style="color:#ff3333; font-weight:bold;">:via</span> <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#ff3333; font-weight:bold;">:smtp</span>,
            <span style="color:#ff3333; font-weight:bold;">:subject</span> <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#996600;">&quot;Houston, we have a problem at #{hostname}&quot;</span>, <span style="color:#ff3333; font-weight:bold;">:body</span> <span style="color:#006600; font-weight:bold;">=&gt;</span> body,
            <span style="color:#ff3333; font-weight:bold;">:via_options</span> <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#006600; font-weight:bold;">&#123;</span>
              <span style="color:#ff3333; font-weight:bold;">:address</span>              <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#996600;">'smtp.gmail.com'</span>,
              <span style="color:#ff3333; font-weight:bold;">:port</span>                 <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#996600;">'587'</span>,
              <span style="color:#ff3333; font-weight:bold;">:enable_starttls_auto</span> <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#0000FF; font-weight:bold;">true</span>,
              <span style="color:#ff3333; font-weight:bold;">:user_name</span>            <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#996600;">'user'</span>,
              <span style="color:#ff3333; font-weight:bold;">:password</span>             <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#996600;">'pass'</span>,
              <span style="color:#ff3333; font-weight:bold;">:authentication</span>       <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#ff3333; font-weight:bold;">:plain</span>,
  <span style="color:#006600; font-weight:bold;">&#125;</span><span style="color:#006600; font-weight:bold;">&#41;</span>
<span style="color:#9966CC; font-weight:bold;">end</span></pre></div></div>

<p>Setup a cronjob and get notified when your inodes are over 80%</p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=No+space+left+on+device+%E2%80%93+go+check+your+inodes%21+http%3A%2F%2Fis.gd%2FtEyTbI" title="Post to Twitter"><img class="nothumb" src="http://ruyrocha.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="tt twitter No space left on device   go check your inodes!"  title="No space left on device   go check your inodes!" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=No+space+left+on+device+%E2%80%93+go+check+your+inodes%21+http%3A%2F%2Fis.gd%2FtEyTbI" title="Post to Twitter">Tweet This Post</a> <a target="_blank" rel="nofollow" class="tt" href="http://delicious.com/post?url=http://ruyrocha.com/no-space-left-on-device-go-check-your-inodes/&amp;title=No+space+left+on+device+%E2%80%93+go+check+your+inodes%21" title="Post to Delicious"><img class="nothumb" src="http://ruyrocha.com/wp-content/plugins/tweet-this/icons/en/delicious/tt-delicious.png" alt="tt delicious No space left on device   go check your inodes!"  title="No space left on device   go check your inodes!" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://delicious.com/post?url=http://ruyrocha.com/no-space-left-on-device-go-check-your-inodes/&amp;title=No+space+left+on+device+%E2%80%93+go+check+your+inodes%21" title="Post to Delicious">Post to Delicious</a> <a target="_blank" rel="nofollow" class="tt" href="http://digg.com/submit?url=http://ruyrocha.com/no-space-left-on-device-go-check-your-inodes/&amp;title=No+space+left+on+device+%E2%80%93+go+check+your+inodes%21" title="Post to Digg"><img class="nothumb" src="http://ruyrocha.com/wp-content/plugins/tweet-this/icons/en/digg/tt-digg.png" alt="tt digg No space left on device   go check your inodes!"  title="No space left on device   go check your inodes!" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://digg.com/submit?url=http://ruyrocha.com/no-space-left-on-device-go-check-your-inodes/&amp;title=No+space+left+on+device+%E2%80%93+go+check+your+inodes%21" title="Post to Digg">Digg This Post</a> <a target="_blank" rel="nofollow" class="tt" href="http://www.facebook.com/share.php?u=http://ruyrocha.com/no-space-left-on-device-go-check-your-inodes/&amp;t=No+space+left+on+device+%E2%80%93+go+check+your+inodes%21" title="Post to Facebook"><img class="nothumb" src="http://ruyrocha.com/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook.png" alt="tt facebook No space left on device   go check your inodes!"  title="No space left on device   go check your inodes!" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://www.facebook.com/share.php?u=http://ruyrocha.com/no-space-left-on-device-go-check-your-inodes/&amp;t=No+space+left+on+device+%E2%80%93+go+check+your+inodes%21" title="Post to Facebook">Post to Facebook</a> <a target="_blank" rel="nofollow" class="tt" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://ruyrocha.com/no-space-left-on-device-go-check-your-inodes/&amp;title=No+space+left+on+device+%E2%80%93+go+check+your+inodes%21&amp;summary=With+ruby%2C+to+be+sexy%3A%0D%0A%0D%0Aino.rb%0D%0A%23%21%2Fusr%2Fbin%2Fenv+ruby%0D%0Arequire+%27rubygems%27%0D%0Arequire+%27pony%27%0D%0A%0D%0Ahostname+%3D+%60hostname+-f%60.strip%0D%0Adisk_usage+%3D+%60df+-i%60%0D%0A...&amp;source=Ruy Rocha" title="Post to LinkedIn"><img class="nothumb" src="http://ruyrocha.com/wp-content/plugins/tweet-this/icons/en/linkedin/tt-linkedin.png" alt="tt linkedin No space left on device   go check your inodes!"  title="No space left on device   go check your inodes!" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://ruyrocha.com/no-space-left-on-device-go-check-your-inodes/&amp;title=No+space+left+on+device+%E2%80%93+go+check+your+inodes%21&amp;summary=With+ruby%2C+to+be+sexy%3A%0D%0A%0D%0Aino.rb%0D%0A%23%21%2Fusr%2Fbin%2Fenv+ruby%0D%0Arequire+%27rubygems%27%0D%0Arequire+%27pony%27%0D%0A%0D%0Ahostname+%3D+%60hostname+-f%60.strip%0D%0Adisk_usage+%3D+%60df+-i%60%0D%0A...&amp;source=Ruy Rocha" title="Post to LinkedIn">Post to LinkedIn</a></p></div><div class="al2fb_like_button"><div id="fb-root"></div><script src="http://connect.facebook.net/pt_BR/all.js#appId=159773440769970&amp;xfbml=1" type="text/javascript"></script>
<fb:like href="http://ruyrocha.com/no-space-left-on-device-go-check-your-inodes/" send="true" layout="standard" show_faces="true" width="450" action="like" font="arial" colorscheme="light" ref="AL2FB"></fb:like></div>]]></content:encoded>
			<wfw:commentRss>http://ruyrocha.com/no-space-left-on-device-go-check-your-inodes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Aprenda Ruby On Rails Com Boas Práticas</title>
		<link>http://ruyrocha.com/aprenda-ruby-on-rails-com-boas-praticas/</link>
		<comments>http://ruyrocha.com/aprenda-ruby-on-rails-com-boas-praticas/#comments</comments>
		<pubDate>Tue, 27 Jul 2010 16:10:32 +0000</pubDate>
		<dc:creator>Ruy Rocha</dc:creator>
				<category><![CDATA[Ruby]]></category>
		<category><![CDATA[code quality]]></category>
		<category><![CDATA[melhores práticas]]></category>
		<category><![CDATA[railscasts]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[ruby frameworks]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[ruby on rails guides]]></category>

		<guid isPermaLink="false">http://ruyrocha.com/?p=92</guid>
		<description><![CDATA[Vimos da forma mais breve possível Sinatra e Padrino, dois frameworks úteis escritos em Ruby, e agora vamos para Ruby On Rails sem perder qualquer tempo disponível. Não existe como cair de paraquedas em Rails sem ter visto Ruby. Acredito que deu tempo suficiente para escrever ao menos uma aplicação em Ruby&#8230; Rails não é [...]]]></description>
			<content:encoded><![CDATA[<p>Vimos da forma mais breve possível Sinatra e Padrino, dois frameworks úteis escritos em Ruby, e agora vamos para Ruby On Rails sem perder qualquer tempo disponível.</p>
<p>Não existe como cair de paraquedas em Rails sem ter visto Ruby. Acredito que deu tempo suficiente para escrever ao menos uma aplicação em Ruby&#8230;</p>
<p>Rails não é um CMS. Rails é um framework em Ruby para escrever aplicações web. É isso. Se tudo o que se precisa é gerir conteúdo, o WordPress faz o trabalho bem feito. Economize linhas dando um <em>hello world</em> com Sinatra, se é apenas isso o que precisa.</p>
<p>A documentação do Rails é bem escrita, e onde falta documentação é fácil perceber o que acontece dando aquela olhadela no código devidamente documentado &#8211; obrigado RDoc!</p>
<p>Sites <strong>úteis</strong>: <a title="Railscasts" href="http://railscasts.com">Railscasts</a> e <a title="Ruby On Rails Guides" href="http://guides.rubyonrails.org/">Ruby On Rails Guides</a>, sem deixar o GitHub de fora. E vale uma olhada no Akita On Rails também.</p>
<p>E para as boas práticas, Matthew Paul Moore <a title="Ruby On Rails Code Quality Checklist" href="http://www.matthewpaulmoore.com/ruby-on-rails-code-quality-checklist">já escreveu</a> sobre. <em>E duvido que todo mundo execute a 15.</em></p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=Aprenda+Ruby+On+Rails+Com+Boas+Pr%C3%A1ticas+http%3A%2F%2Fis.gd%2FslvOKa" title="Post to Twitter"><img class="nothumb" src="http://ruyrocha.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="tt twitter Aprenda Ruby On Rails Com Boas Práticas"  title="Aprenda Ruby On Rails Com Boas Práticas" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=Aprenda+Ruby+On+Rails+Com+Boas+Pr%C3%A1ticas+http%3A%2F%2Fis.gd%2FslvOKa" title="Post to Twitter">Tweet This Post</a> <a target="_blank" rel="nofollow" class="tt" href="http://delicious.com/post?url=http://ruyrocha.com/aprenda-ruby-on-rails-com-boas-praticas/&amp;title=Aprenda+Ruby+On+Rails+Com+Boas+Pr%C3%A1ticas" title="Post to Delicious"><img class="nothumb" src="http://ruyrocha.com/wp-content/plugins/tweet-this/icons/en/delicious/tt-delicious.png" alt="tt delicious Aprenda Ruby On Rails Com Boas Práticas"  title="Aprenda Ruby On Rails Com Boas Práticas" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://delicious.com/post?url=http://ruyrocha.com/aprenda-ruby-on-rails-com-boas-praticas/&amp;title=Aprenda+Ruby+On+Rails+Com+Boas+Pr%C3%A1ticas" title="Post to Delicious">Post to Delicious</a> <a target="_blank" rel="nofollow" class="tt" href="http://digg.com/submit?url=http://ruyrocha.com/aprenda-ruby-on-rails-com-boas-praticas/&amp;title=Aprenda+Ruby+On+Rails+Com+Boas+Pr%C3%A1ticas" title="Post to Digg"><img class="nothumb" src="http://ruyrocha.com/wp-content/plugins/tweet-this/icons/en/digg/tt-digg.png" alt="tt digg Aprenda Ruby On Rails Com Boas Práticas"  title="Aprenda Ruby On Rails Com Boas Práticas" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://digg.com/submit?url=http://ruyrocha.com/aprenda-ruby-on-rails-com-boas-praticas/&amp;title=Aprenda+Ruby+On+Rails+Com+Boas+Pr%C3%A1ticas" title="Post to Digg">Digg This Post</a> <a target="_blank" rel="nofollow" class="tt" href="http://www.facebook.com/share.php?u=http://ruyrocha.com/aprenda-ruby-on-rails-com-boas-praticas/&amp;t=Aprenda+Ruby+On+Rails+Com+Boas+Pr%C3%A1ticas" title="Post to Facebook"><img class="nothumb" src="http://ruyrocha.com/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook.png" alt="tt facebook Aprenda Ruby On Rails Com Boas Práticas"  title="Aprenda Ruby On Rails Com Boas Práticas" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://www.facebook.com/share.php?u=http://ruyrocha.com/aprenda-ruby-on-rails-com-boas-praticas/&amp;t=Aprenda+Ruby+On+Rails+Com+Boas+Pr%C3%A1ticas" title="Post to Facebook">Post to Facebook</a> <a target="_blank" rel="nofollow" class="tt" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://ruyrocha.com/aprenda-ruby-on-rails-com-boas-praticas/&amp;title=Aprenda+Ruby+On+Rails+Com+Boas+Pr%C3%A1ticas&amp;summary=Vimos+da+forma+mais+breve+poss%C3%ADvel+Sinatra+e+Padrino%2C+dois+frameworks+%C3%BAteis+escritos+em+Ruby%2C+e+agora+vamos+para+Ruby+On+Rails+sem+perder+qualquer+...&amp;source=Ruy Rocha" title="Post to LinkedIn"><img class="nothumb" src="http://ruyrocha.com/wp-content/plugins/tweet-this/icons/en/linkedin/tt-linkedin.png" alt="tt linkedin Aprenda Ruby On Rails Com Boas Práticas"  title="Aprenda Ruby On Rails Com Boas Práticas" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://ruyrocha.com/aprenda-ruby-on-rails-com-boas-praticas/&amp;title=Aprenda+Ruby+On+Rails+Com+Boas+Pr%C3%A1ticas&amp;summary=Vimos+da+forma+mais+breve+poss%C3%ADvel+Sinatra+e+Padrino%2C+dois+frameworks+%C3%BAteis+escritos+em+Ruby%2C+e+agora+vamos+para+Ruby+On+Rails+sem+perder+qualquer+...&amp;source=Ruy Rocha" title="Post to LinkedIn">Post to LinkedIn</a></p></div><div class="al2fb_like_button"><div id="fb-root"></div><script src="http://connect.facebook.net/pt_BR/all.js#appId=159773440769970&amp;xfbml=1" type="text/javascript"></script>
<fb:like href="http://ruyrocha.com/aprenda-ruby-on-rails-com-boas-praticas/" send="true" layout="standard" show_faces="true" width="450" action="like" font="arial" colorscheme="light" ref="AL2FB"></fb:like></div>]]></content:encoded>
			<wfw:commentRss>http://ruyrocha.com/aprenda-ruby-on-rails-com-boas-praticas/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Padrino Ruby Web Framework</title>
		<link>http://ruyrocha.com/padrino-ruby-web-framework/</link>
		<comments>http://ruyrocha.com/padrino-ruby-web-framework/#comments</comments>
		<pubDate>Fri, 16 Jul 2010 18:26:53 +0000</pubDate>
		<dc:creator>Ruy Rocha</dc:creator>
				<category><![CDATA[Ruby]]></category>
		<category><![CDATA[padrino]]></category>
		<category><![CDATA[padrino framework]]></category>
		<category><![CDATA[ruby framework]]></category>
		<category><![CDATA[ruby on rails]]></category>

		<guid isPermaLink="false">http://ruyrocha.com/?p=81</guid>
		<description><![CDATA[Padrino &#8211; the elegant ruby framwork &#8211; é outro framework em ruby e feito em cima do Sinatra. Não deixa nada a desejear, apesar de ser mais leve que Ruby On Rails. A documentação vale cada página. Uma feature interessante é a possibilidade de montar várias aplicações, unlike other ruby frameworks, e a declaração das [...]]]></description>
			<content:encoded><![CDATA[<p>Padrino &#8211; <em>the elegant ruby framwork</em> &#8211; é outro framework em ruby e feito em cima do Sinatra. Não deixa <strong>nada</strong> a desejear, apesar de ser mais leve que Ruby On Rails.</p>
<p>A <a title="Padrino Framework - Guides" href="http://www.padrinorb.com/guides">documentação </a>vale cada página.</p>
<p>Uma feature interessante é a possibilidade de montar várias aplicações, <em>unlike other ruby frameworks</em>, e a declaração das rotas de forma explícita ajuda <strong>muito</strong> também.</p>
<p>A autenticação e definição de <em>roles</em> para usuários, bah, é super simples.</p>
<p>Os plugins e templates estão disponíveis no branch <em>templates</em>, ou seja, não terá estes <em>generators</em> se instalar via rubygems.</p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=Padrino+Ruby+Web+Framework+http%3A%2F%2Fis.gd%2FpKvv1W" title="Post to Twitter"><img class="nothumb" src="http://ruyrocha.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="tt twitter Padrino Ruby Web Framework"  title="Padrino Ruby Web Framework" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=Padrino+Ruby+Web+Framework+http%3A%2F%2Fis.gd%2FpKvv1W" title="Post to Twitter">Tweet This Post</a> <a target="_blank" rel="nofollow" class="tt" href="http://delicious.com/post?url=http://ruyrocha.com/padrino-ruby-web-framework/&amp;title=Padrino+Ruby+Web+Framework" title="Post to Delicious"><img class="nothumb" src="http://ruyrocha.com/wp-content/plugins/tweet-this/icons/en/delicious/tt-delicious.png" alt="tt delicious Padrino Ruby Web Framework"  title="Padrino Ruby Web Framework" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://delicious.com/post?url=http://ruyrocha.com/padrino-ruby-web-framework/&amp;title=Padrino+Ruby+Web+Framework" title="Post to Delicious">Post to Delicious</a> <a target="_blank" rel="nofollow" class="tt" href="http://digg.com/submit?url=http://ruyrocha.com/padrino-ruby-web-framework/&amp;title=Padrino+Ruby+Web+Framework" title="Post to Digg"><img class="nothumb" src="http://ruyrocha.com/wp-content/plugins/tweet-this/icons/en/digg/tt-digg.png" alt="tt digg Padrino Ruby Web Framework"  title="Padrino Ruby Web Framework" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://digg.com/submit?url=http://ruyrocha.com/padrino-ruby-web-framework/&amp;title=Padrino+Ruby+Web+Framework" title="Post to Digg">Digg This Post</a> <a target="_blank" rel="nofollow" class="tt" href="http://www.facebook.com/share.php?u=http://ruyrocha.com/padrino-ruby-web-framework/&amp;t=Padrino+Ruby+Web+Framework" title="Post to Facebook"><img class="nothumb" src="http://ruyrocha.com/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook.png" alt="tt facebook Padrino Ruby Web Framework"  title="Padrino Ruby Web Framework" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://www.facebook.com/share.php?u=http://ruyrocha.com/padrino-ruby-web-framework/&amp;t=Padrino+Ruby+Web+Framework" title="Post to Facebook">Post to Facebook</a> <a target="_blank" rel="nofollow" class="tt" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://ruyrocha.com/padrino-ruby-web-framework/&amp;title=Padrino+Ruby+Web+Framework&amp;summary=Padrino+-+the+elegant+ruby+framwork+-+%C3%A9+outro+framework+em+ruby+e+feito+em+cima+do+Sinatra.+N%C3%A3o+deixa+nada+a+desejear%2C+apesar+de+ser+mais+leve+que+...&amp;source=Ruy Rocha" title="Post to LinkedIn"><img class="nothumb" src="http://ruyrocha.com/wp-content/plugins/tweet-this/icons/en/linkedin/tt-linkedin.png" alt="tt linkedin Padrino Ruby Web Framework"  title="Padrino Ruby Web Framework" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://ruyrocha.com/padrino-ruby-web-framework/&amp;title=Padrino+Ruby+Web+Framework&amp;summary=Padrino+-+the+elegant+ruby+framwork+-+%C3%A9+outro+framework+em+ruby+e+feito+em+cima+do+Sinatra.+N%C3%A3o+deixa+nada+a+desejear%2C+apesar+de+ser+mais+leve+que+...&amp;source=Ruy Rocha" title="Post to LinkedIn">Post to LinkedIn</a></p></div><div class="al2fb_like_button"><div id="fb-root"></div><script src="http://connect.facebook.net/pt_BR/all.js#appId=159773440769970&amp;xfbml=1" type="text/javascript"></script>
<fb:like href="http://ruyrocha.com/padrino-ruby-web-framework/" send="true" layout="standard" show_faces="true" width="450" action="like" font="arial" colorscheme="light" ref="AL2FB"></fb:like></div>]]></content:encoded>
			<wfw:commentRss>http://ruyrocha.com/padrino-ruby-web-framework/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Converse Com Dados!</title>
		<link>http://ruyrocha.com/converse-com-dados/</link>
		<comments>http://ruyrocha.com/converse-com-dados/#comments</comments>
		<pubDate>Wed, 14 Jul 2010 01:34:33 +0000</pubDate>
		<dc:creator>Ruy Rocha</dc:creator>
				<category><![CDATA[Ruby]]></category>
		<category><![CDATA[active record]]></category>
		<category><![CDATA[activerecord]]></category>
		<category><![CDATA[design pattern]]></category>

		<guid isPermaLink="false">http://ruyrocha.com/?p=71</guid>
		<description><![CDATA[ActiveRecord é um design pattern que foi escrito em Ruby. Ainda não chegamos em Rails, certo? Use o ActiveRecord fora do Rails. Eu daria uma olhada leve em Sequel e Candy (mongodb). Tweet This Post Post to Delicious Digg This Post Post to Facebook Post to LinkedIn]]></description>
			<content:encoded><![CDATA[<p>ActiveRecord é um <em>design pattern</em> que foi escrito em Ruby. Ainda não chegamos em Rails, certo? Use o ActiveRecord fora do Rails. Eu daria uma olhada leve em Sequel e Candy (mongodb).</p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=Converse+Com+Dados%21+http%3A%2F%2Fis.gd%2FZzsxS6" title="Post to Twitter"><img class="nothumb" src="http://ruyrocha.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="tt twitter Converse Com Dados!"  title="Converse Com Dados!" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=Converse+Com+Dados%21+http%3A%2F%2Fis.gd%2FZzsxS6" title="Post to Twitter">Tweet This Post</a> <a target="_blank" rel="nofollow" class="tt" href="http://delicious.com/post?url=http://ruyrocha.com/converse-com-dados/&amp;title=Converse+Com+Dados%21" title="Post to Delicious"><img class="nothumb" src="http://ruyrocha.com/wp-content/plugins/tweet-this/icons/en/delicious/tt-delicious.png" alt="tt delicious Converse Com Dados!"  title="Converse Com Dados!" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://delicious.com/post?url=http://ruyrocha.com/converse-com-dados/&amp;title=Converse+Com+Dados%21" title="Post to Delicious">Post to Delicious</a> <a target="_blank" rel="nofollow" class="tt" href="http://digg.com/submit?url=http://ruyrocha.com/converse-com-dados/&amp;title=Converse+Com+Dados%21" title="Post to Digg"><img class="nothumb" src="http://ruyrocha.com/wp-content/plugins/tweet-this/icons/en/digg/tt-digg.png" alt="tt digg Converse Com Dados!"  title="Converse Com Dados!" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://digg.com/submit?url=http://ruyrocha.com/converse-com-dados/&amp;title=Converse+Com+Dados%21" title="Post to Digg">Digg This Post</a> <a target="_blank" rel="nofollow" class="tt" href="http://www.facebook.com/share.php?u=http://ruyrocha.com/converse-com-dados/&amp;t=Converse+Com+Dados%21" title="Post to Facebook"><img class="nothumb" src="http://ruyrocha.com/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook.png" alt="tt facebook Converse Com Dados!"  title="Converse Com Dados!" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://www.facebook.com/share.php?u=http://ruyrocha.com/converse-com-dados/&amp;t=Converse+Com+Dados%21" title="Post to Facebook">Post to Facebook</a> <a target="_blank" rel="nofollow" class="tt" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://ruyrocha.com/converse-com-dados/&amp;title=Converse+Com+Dados%21&amp;summary=ActiveRecord+%C3%A9+um+design+pattern+que+foi+escrito+em+Ruby.+Ainda+n%C3%A3o+chegamos+em+Rails%2C+certo%3F+Use+o+ActiveRecord+fora+do+Rails.+Eu+daria+uma+olhada...&amp;source=Ruy Rocha" title="Post to LinkedIn"><img class="nothumb" src="http://ruyrocha.com/wp-content/plugins/tweet-this/icons/en/linkedin/tt-linkedin.png" alt="tt linkedin Converse Com Dados!"  title="Converse Com Dados!" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://ruyrocha.com/converse-com-dados/&amp;title=Converse+Com+Dados%21&amp;summary=ActiveRecord+%C3%A9+um+design+pattern+que+foi+escrito+em+Ruby.+Ainda+n%C3%A3o+chegamos+em+Rails%2C+certo%3F+Use+o+ActiveRecord+fora+do+Rails.+Eu+daria+uma+olhada...&amp;source=Ruy Rocha" title="Post to LinkedIn">Post to LinkedIn</a></p></div><div class="al2fb_like_button"><div id="fb-root"></div><script src="http://connect.facebook.net/pt_BR/all.js#appId=159773440769970&amp;xfbml=1" type="text/javascript"></script>
<fb:like href="http://ruyrocha.com/converse-com-dados/" send="true" layout="standard" show_faces="true" width="450" action="like" font="arial" colorscheme="light" ref="AL2FB"></fb:like></div>]]></content:encoded>
			<wfw:commentRss>http://ruyrocha.com/converse-com-dados/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IRB &#8211; Interactive Ruby Shell</title>
		<link>http://ruyrocha.com/irb-interactive-ruby-shell/</link>
		<comments>http://ruyrocha.com/irb-interactive-ruby-shell/#comments</comments>
		<pubDate>Tue, 13 Jul 2010 20:57:25 +0000</pubDate>
		<dc:creator>Ruy Rocha</dc:creator>
				<category><![CDATA[Ruby]]></category>
		<category><![CDATA[interactive ruby shell]]></category>
		<category><![CDATA[irb]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://ruyrocha.com/?p=67</guid>
		<description><![CDATA[Passar batido sem falar do irb ficaria um tanto complicado. Você vê tuas linhas ganharem vida no irb quando executa o código na unha. O irb pode lêr sua configuração de um ~/.irbrc da vida. O que uso: require 'irb/completion' require 'irb/ext/save-history' &#160; IRB.conf&#91;:SAVE_HISTORY&#93; = 1000 IRB.conf&#91;:HISTORY_FILE&#93; = &#34;#{ENV['HOME']}/.irb-save-history&#34; puts &#34;History configured.&#34; &#160; # auto-indent [...]]]></description>
			<content:encoded><![CDATA[<p>Passar batido sem falar do irb ficaria um tanto complicado. Você vê tuas linhas ganharem vida no <strong>irb</strong> quando executa o código na unha.</p>
<p>O irb pode lêr sua configuração de um ~/.irbrc da vida. O que uso:</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;"><span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">'irb/completion'</span>
<span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">'irb/ext/save-history'</span>
&nbsp;
IRB.<span style="color:#9900CC;">conf</span><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#ff3333; font-weight:bold;">:SAVE_HISTORY</span><span style="color:#006600; font-weight:bold;">&#93;</span> = <span style="color:#006666;">1000</span>
IRB.<span style="color:#9900CC;">conf</span><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#ff3333; font-weight:bold;">:HISTORY_FILE</span><span style="color:#006600; font-weight:bold;">&#93;</span> = <span style="color:#996600;">&quot;#{ENV['HOME']}/.irb-save-history&quot;</span>
<span style="color:#CC0066; font-weight:bold;">puts</span> <span style="color:#996600;">&quot;History configured.&quot;</span>
&nbsp;
<span style="color:#008000; font-style:italic;"># auto-indent</span>
IRB.<span style="color:#9900CC;">conf</span><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#ff3333; font-weight:bold;">:AUTO_INDENT</span><span style="color:#006600; font-weight:bold;">&#93;</span>=<span style="color:#0000FF; font-weight:bold;">true</span>
<span style="color:#CC0066; font-weight:bold;">puts</span> <span style="color:#996600;">&quot;Auto-indent on.&quot;</span>
&nbsp;
<span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">'rubygems'</span>
<span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">'map_by_method'</span>
<span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">'what_methods'</span>
<span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">'pp'</span>
<span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">'wirble'</span>
&nbsp;
THEME_FOR_WHITE_BKG = <span style="color:#006600; font-weight:bold;">&#123;</span>
      <span style="color:#008000; font-style:italic;"># delimiter colors</span>
      <span style="color:#ff3333; font-weight:bold;">:comma</span>              =<span style="color:#006600; font-weight:bold;">&amp;</span>gt; <span style="color:#ff3333; font-weight:bold;">:purple</span>,
      <span style="color:#ff3333; font-weight:bold;">:refers</span>             =<span style="color:#006600; font-weight:bold;">&amp;</span>gt; <span style="color:#ff3333; font-weight:bold;">:blue</span>,
&nbsp;
      <span style="color:#008000; font-style:italic;"># container colors (hash and array)</span>
      <span style="color:#ff3333; font-weight:bold;">:open_hash</span>          =<span style="color:#006600; font-weight:bold;">&amp;</span>gt; <span style="color:#ff3333; font-weight:bold;">:red</span>,
      <span style="color:#ff3333; font-weight:bold;">:close_hash</span>         =<span style="color:#006600; font-weight:bold;">&amp;</span>gt; <span style="color:#ff3333; font-weight:bold;">:red</span>,
      <span style="color:#ff3333; font-weight:bold;">:open_array</span>         =<span style="color:#006600; font-weight:bold;">&amp;</span>gt; <span style="color:#ff3333; font-weight:bold;">:red</span>,
      <span style="color:#ff3333; font-weight:bold;">:close_array</span>        =<span style="color:#006600; font-weight:bold;">&amp;</span>gt; <span style="color:#ff3333; font-weight:bold;">:red</span>,
&nbsp;
      <span style="color:#008000; font-style:italic;"># object colors</span>
      <span style="color:#ff3333; font-weight:bold;">:open_object</span>        =<span style="color:#006600; font-weight:bold;">&amp;</span>gt; <span style="color:#ff3333; font-weight:bold;">:dark_gray</span>,
      <span style="color:#ff3333; font-weight:bold;">:object_class</span>       =<span style="color:#006600; font-weight:bold;">&amp;</span>gt; <span style="color:#ff3333; font-weight:bold;">:purple</span>,
      <span style="color:#ff3333; font-weight:bold;">:object_addr_prefix</span> =<span style="color:#006600; font-weight:bold;">&amp;</span>gt; <span style="color:#ff3333; font-weight:bold;">:blue</span>,
      <span style="color:#ff3333; font-weight:bold;">:object_line_prefix</span> =<span style="color:#006600; font-weight:bold;">&amp;</span>gt; <span style="color:#ff3333; font-weight:bold;">:blue</span>,
      <span style="color:#ff3333; font-weight:bold;">:close_object</span>       =<span style="color:#006600; font-weight:bold;">&amp;</span>gt; <span style="color:#ff3333; font-weight:bold;">:dark_gray</span>,
      <span style="color:#008000; font-style:italic;"># symbol colors</span>
      <span style="color:#ff3333; font-weight:bold;">:symbol</span>             =<span style="color:#006600; font-weight:bold;">&amp;</span>gt; <span style="color:#ff3333; font-weight:bold;">:black</span>,
      <span style="color:#ff3333; font-weight:bold;">:symbol_prefix</span>      =<span style="color:#006600; font-weight:bold;">&amp;</span>gt; <span style="color:#ff3333; font-weight:bold;">:light_gray</span>,
&nbsp;
      <span style="color:#008000; font-style:italic;"># string colors</span>
      <span style="color:#ff3333; font-weight:bold;">:open_string</span>        =<span style="color:#006600; font-weight:bold;">&amp;</span>gt; <span style="color:#ff3333; font-weight:bold;">:blue</span>,
      :<span style="color:#CC0066; font-weight:bold;">string</span>             =<span style="color:#006600; font-weight:bold;">&amp;</span>gt; <span style="color:#ff3333; font-weight:bold;">:dark_gray</span>,
      <span style="color:#ff3333; font-weight:bold;">:close_string</span>       =<span style="color:#006600; font-weight:bold;">&amp;</span>gt; <span style="color:#ff3333; font-weight:bold;">:blue</span>,
&nbsp;
      <span style="color:#008000; font-style:italic;"># misc colors</span>
      <span style="color:#ff3333; font-weight:bold;">:number</span>             =<span style="color:#006600; font-weight:bold;">&amp;</span>gt; <span style="color:#ff3333; font-weight:bold;">:black</span>,
      <span style="color:#ff3333; font-weight:bold;">:keyword</span>            =<span style="color:#006600; font-weight:bold;">&amp;</span>gt; <span style="color:#ff3333; font-weight:bold;">:brown</span>,
      :<span style="color:#9966CC; font-weight:bold;">class</span>              =<span style="color:#006600; font-weight:bold;">&amp;</span>gt; <span style="color:#ff3333; font-weight:bold;">:red</span>,
      <span style="color:#ff3333; font-weight:bold;">:range</span>              =<span style="color:#006600; font-weight:bold;">&amp;</span>gt; <span style="color:#ff3333; font-weight:bold;">:blue</span>,
    <span style="color:#006600; font-weight:bold;">&#125;</span>
&nbsp;
<span style="color:#008000; font-style:italic;">#Wirble::Colorize.colors = THEME_FOR_WHITE_BKG</span>
Wirble.<span style="color:#9900CC;">init</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#ff3333; font-weight:bold;">:skip_prompt</span>=<span style="color:#006600; font-weight:bold;">&amp;</span>gt;true,:skip_history=<span style="color:#006600; font-weight:bold;">&amp;</span>gt;true<span style="color:#006600; font-weight:bold;">&#41;</span>
Wirble.<span style="color:#9900CC;">colorize</span></pre></div></div>

<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=IRB+%E2%80%93+Interactive+Ruby+Shell+http%3A%2F%2Fis.gd%2FBYYN2h" title="Post to Twitter"><img class="nothumb" src="http://ruyrocha.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="tt twitter IRB   Interactive Ruby Shell"  title="IRB   Interactive Ruby Shell" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=IRB+%E2%80%93+Interactive+Ruby+Shell+http%3A%2F%2Fis.gd%2FBYYN2h" title="Post to Twitter">Tweet This Post</a> <a target="_blank" rel="nofollow" class="tt" href="http://delicious.com/post?url=http://ruyrocha.com/irb-interactive-ruby-shell/&amp;title=IRB+%E2%80%93+Interactive+Ruby+Shell" title="Post to Delicious"><img class="nothumb" src="http://ruyrocha.com/wp-content/plugins/tweet-this/icons/en/delicious/tt-delicious.png" alt="tt delicious IRB   Interactive Ruby Shell"  title="IRB   Interactive Ruby Shell" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://delicious.com/post?url=http://ruyrocha.com/irb-interactive-ruby-shell/&amp;title=IRB+%E2%80%93+Interactive+Ruby+Shell" title="Post to Delicious">Post to Delicious</a> <a target="_blank" rel="nofollow" class="tt" href="http://digg.com/submit?url=http://ruyrocha.com/irb-interactive-ruby-shell/&amp;title=IRB+%E2%80%93+Interactive+Ruby+Shell" title="Post to Digg"><img class="nothumb" src="http://ruyrocha.com/wp-content/plugins/tweet-this/icons/en/digg/tt-digg.png" alt="tt digg IRB   Interactive Ruby Shell"  title="IRB   Interactive Ruby Shell" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://digg.com/submit?url=http://ruyrocha.com/irb-interactive-ruby-shell/&amp;title=IRB+%E2%80%93+Interactive+Ruby+Shell" title="Post to Digg">Digg This Post</a> <a target="_blank" rel="nofollow" class="tt" href="http://www.facebook.com/share.php?u=http://ruyrocha.com/irb-interactive-ruby-shell/&amp;t=IRB+%E2%80%93+Interactive+Ruby+Shell" title="Post to Facebook"><img class="nothumb" src="http://ruyrocha.com/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook.png" alt="tt facebook IRB   Interactive Ruby Shell"  title="IRB   Interactive Ruby Shell" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://www.facebook.com/share.php?u=http://ruyrocha.com/irb-interactive-ruby-shell/&amp;t=IRB+%E2%80%93+Interactive+Ruby+Shell" title="Post to Facebook">Post to Facebook</a> <a target="_blank" rel="nofollow" class="tt" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://ruyrocha.com/irb-interactive-ruby-shell/&amp;title=IRB+%E2%80%93+Interactive+Ruby+Shell&amp;summary=Passar+batido+sem+falar+do+irb+ficaria+um+tanto+complicado.+Voc%C3%AA+v%C3%AA+tuas+linhas+ganharem+vida+no+irb+quando+executa+o+c%C3%B3digo+na+unha.%0D%0A%0D%0AO+irb+pode...&amp;source=Ruy Rocha" title="Post to LinkedIn"><img class="nothumb" src="http://ruyrocha.com/wp-content/plugins/tweet-this/icons/en/linkedin/tt-linkedin.png" alt="tt linkedin IRB   Interactive Ruby Shell"  title="IRB   Interactive Ruby Shell" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://ruyrocha.com/irb-interactive-ruby-shell/&amp;title=IRB+%E2%80%93+Interactive+Ruby+Shell&amp;summary=Passar+batido+sem+falar+do+irb+ficaria+um+tanto+complicado.+Voc%C3%AA+v%C3%AA+tuas+linhas+ganharem+vida+no+irb+quando+executa+o+c%C3%B3digo+na+unha.%0D%0A%0D%0AO+irb+pode...&amp;source=Ruy Rocha" title="Post to LinkedIn">Post to LinkedIn</a></p></div><div class="al2fb_like_button"><div id="fb-root"></div><script src="http://connect.facebook.net/pt_BR/all.js#appId=159773440769970&amp;xfbml=1" type="text/javascript"></script>
<fb:like href="http://ruyrocha.com/irb-interactive-ruby-shell/" send="true" layout="standard" show_faces="true" width="450" action="like" font="arial" colorscheme="light" ref="AL2FB"></fb:like></div>]]></content:encoded>
			<wfw:commentRss>http://ruyrocha.com/irb-interactive-ruby-shell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sinatra Framework</title>
		<link>http://ruyrocha.com/sinatra-framework/</link>
		<comments>http://ruyrocha.com/sinatra-framework/#comments</comments>
		<pubDate>Tue, 13 Jul 2010 20:50:06 +0000</pubDate>
		<dc:creator>Ruy Rocha</dc:creator>
				<category><![CDATA[Ruby]]></category>
		<category><![CDATA[aprenda ruby]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[sinatra]]></category>
		<category><![CDATA[sinatra framework]]></category>

		<guid isPermaLink="false">http://ruyrocha.com/?p=62</guid>
		<description><![CDATA[Sinatra is a specific DSL for quickly creating web-applications in Ruby &#8211; retirado do Sinatra Book, e você o instala pelas Gems: gem install sinatra Simples: require 'rubygems' require 'sinatra' &#160; use Rack::Auth::Basic do &#124;username, password&#124; username == 'fu' &#38;amp;&#38;amp; password == 'bar' end &#160; get '/' do ... end E nos três pontos, meu [...]]]></description>
			<content:encoded><![CDATA[<p><em><a title="Sinatra Framework" href="http://www.sinatrarb.com/">Sinatra</a> is a specific DSL for quickly creating web-applications in Ruby</em> &#8211; retirado do <a title="Sinatra Book" href="http://sinatra-book.gittr.com/">Sinatra Book</a>, e você o instala pelas Gems:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">gem <span style="color: #c20cb9; font-weight: bold;">install</span> sinatra</pre></div></div>

<p>Simples:</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;"><span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">'rubygems'</span>
<span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">'sinatra'</span>
&nbsp;
use <span style="color:#6666ff; font-weight:bold;">Rack::Auth::Basic</span> <span style="color:#9966CC; font-weight:bold;">do</span> <span style="color:#006600; font-weight:bold;">|</span>username, password<span style="color:#006600; font-weight:bold;">|</span>
  username == <span style="color:#996600;">'fu'</span> <span style="color:#006600; font-weight:bold;">&amp;</span>amp;<span style="color:#006600; font-weight:bold;">&amp;</span>amp; password == <span style="color:#996600;">'bar'</span>
<span style="color:#9966CC; font-weight:bold;">end</span>
&nbsp;
get <span style="color:#996600;">'/'</span> <span style="color:#9966CC; font-weight:bold;">do</span>
  ...
<span style="color:#9966CC; font-weight:bold;">end</span></pre></div></div>

<p>E nos três pontos, meu velho, é aí que fica a brincadeira. Sexta-feira, 17:57, e precisa disponibilizar um webservice muito do fajuto? Pois é&#8230;</p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=Sinatra+Framework+http%3A%2F%2Fis.gd%2FXY7Lob" title="Post to Twitter"><img class="nothumb" src="http://ruyrocha.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="tt twitter Sinatra Framework"  title="Sinatra Framework" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=Sinatra+Framework+http%3A%2F%2Fis.gd%2FXY7Lob" title="Post to Twitter">Tweet This Post</a> <a target="_blank" rel="nofollow" class="tt" href="http://delicious.com/post?url=http://ruyrocha.com/sinatra-framework/&amp;title=Sinatra+Framework" title="Post to Delicious"><img class="nothumb" src="http://ruyrocha.com/wp-content/plugins/tweet-this/icons/en/delicious/tt-delicious.png" alt="tt delicious Sinatra Framework"  title="Sinatra Framework" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://delicious.com/post?url=http://ruyrocha.com/sinatra-framework/&amp;title=Sinatra+Framework" title="Post to Delicious">Post to Delicious</a> <a target="_blank" rel="nofollow" class="tt" href="http://digg.com/submit?url=http://ruyrocha.com/sinatra-framework/&amp;title=Sinatra+Framework" title="Post to Digg"><img class="nothumb" src="http://ruyrocha.com/wp-content/plugins/tweet-this/icons/en/digg/tt-digg.png" alt="tt digg Sinatra Framework"  title="Sinatra Framework" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://digg.com/submit?url=http://ruyrocha.com/sinatra-framework/&amp;title=Sinatra+Framework" title="Post to Digg">Digg This Post</a> <a target="_blank" rel="nofollow" class="tt" href="http://www.facebook.com/share.php?u=http://ruyrocha.com/sinatra-framework/&amp;t=Sinatra+Framework" title="Post to Facebook"><img class="nothumb" src="http://ruyrocha.com/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook.png" alt="tt facebook Sinatra Framework"  title="Sinatra Framework" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://www.facebook.com/share.php?u=http://ruyrocha.com/sinatra-framework/&amp;t=Sinatra+Framework" title="Post to Facebook">Post to Facebook</a> <a target="_blank" rel="nofollow" class="tt" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://ruyrocha.com/sinatra-framework/&amp;title=Sinatra+Framework&amp;summary=Sinatra+is+a+specific+DSL+for+quickly+creating+web-applications+in+Ruby+-+retirado+do+Sinatra+Book%2C+e+voc%C3%AA+o+instala+pelas+Gems%3A%0D%0Agem+install+sinat...&amp;source=Ruy Rocha" title="Post to LinkedIn"><img class="nothumb" src="http://ruyrocha.com/wp-content/plugins/tweet-this/icons/en/linkedin/tt-linkedin.png" alt="tt linkedin Sinatra Framework"  title="Sinatra Framework" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://ruyrocha.com/sinatra-framework/&amp;title=Sinatra+Framework&amp;summary=Sinatra+is+a+specific+DSL+for+quickly+creating+web-applications+in+Ruby+-+retirado+do+Sinatra+Book%2C+e+voc%C3%AA+o+instala+pelas+Gems%3A%0D%0Agem+install+sinat...&amp;source=Ruy Rocha" title="Post to LinkedIn">Post to LinkedIn</a></p></div><div class="al2fb_like_button"><div id="fb-root"></div><script src="http://connect.facebook.net/pt_BR/all.js#appId=159773440769970&amp;xfbml=1" type="text/javascript"></script>
<fb:like href="http://ruyrocha.com/sinatra-framework/" send="true" layout="standard" show_faces="true" width="450" action="like" font="arial" colorscheme="light" ref="AL2FB"></fb:like></div>]]></content:encoded>
			<wfw:commentRss>http://ruyrocha.com/sinatra-framework/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Esqueça Rails: Aprenda Ruby!</title>
		<link>http://ruyrocha.com/esqueca-rails-aprenda-ruby/</link>
		<comments>http://ruyrocha.com/esqueca-rails-aprenda-ruby/#comments</comments>
		<pubDate>Tue, 13 Jul 2010 20:36:58 +0000</pubDate>
		<dc:creator>Ruy Rocha</dc:creator>
				<category><![CDATA[Ruby]]></category>
		<category><![CDATA[aprenda ruby]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://ruyrocha.com/?p=59</guid>
		<description><![CDATA[Esqueça Ruby On Rails - framework &#8211; e aprenda Ruby, a linguagem. Perdi 50 anos pra fazer algo ridículo com jQuery. Não sei nada de Javascript e por isso tomei o baile O Pragmatic Programmer&#8217;s Guide é um excelente começo, ainda mais para quem já está habituado com outras linguagens orientadas. Dúvidas sobre classes e [...]]]></description>
			<content:encoded><![CDATA[<p>Esqueça <strong>Ruby On Rails </strong>- framework &#8211; e aprenda Ruby, a linguagem. Perdi <strong>50 anos</strong> pra fazer algo ridículo com jQuery. Não sei nada de Javascript e por isso tomei o baile <img src='http://ruyrocha.com/wp-includes/images/smilies/icon_smile.gif' alt="icon smile Esqueça Rails: Aprenda Ruby!" class='wp-smiley' title="Esqueça Rails: Aprenda Ruby!" /> </p>
<p>O <a title="Programming Ruby - The Pragmatic Programmer's Guide" href="http://ruby-doc.org/docs/ProgrammingRuby/">Pragmatic Programmer&#8217;s Guide</a> é um excelente começo, ainda mais para quem já está habituado com outras linguagens orientadas. Dúvidas sobre classes e métodos, e mais outras coisas: dê uma olhada rápida <a title="Ruby Doc :D" href="http://www.ruby-lang.org/en/documentation/">na documentação</a>.</p>
<p>Uma olhada no <a title="Ruby Forum" href="http://www.ruby-forum.com/">forum</a> responde algumas das possíveis questões.</p>
<p>E ao invés de instalar o ruby da sua distribuição use o <strong>Ruby Version Manager.<br />
</strong></p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=Esque%C3%A7a+Rails%3A+Aprenda+Ruby%21+http%3A%2F%2Fis.gd%2Fxy0HmM" title="Post to Twitter"><img class="nothumb" src="http://ruyrocha.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="tt twitter Esqueça Rails: Aprenda Ruby!"  title="Esqueça Rails: Aprenda Ruby!" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=Esque%C3%A7a+Rails%3A+Aprenda+Ruby%21+http%3A%2F%2Fis.gd%2Fxy0HmM" title="Post to Twitter">Tweet This Post</a> <a target="_blank" rel="nofollow" class="tt" href="http://delicious.com/post?url=http://ruyrocha.com/esqueca-rails-aprenda-ruby/&amp;title=Esque%C3%A7a+Rails%3A+Aprenda+Ruby%21" title="Post to Delicious"><img class="nothumb" src="http://ruyrocha.com/wp-content/plugins/tweet-this/icons/en/delicious/tt-delicious.png" alt="tt delicious Esqueça Rails: Aprenda Ruby!"  title="Esqueça Rails: Aprenda Ruby!" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://delicious.com/post?url=http://ruyrocha.com/esqueca-rails-aprenda-ruby/&amp;title=Esque%C3%A7a+Rails%3A+Aprenda+Ruby%21" title="Post to Delicious">Post to Delicious</a> <a target="_blank" rel="nofollow" class="tt" href="http://digg.com/submit?url=http://ruyrocha.com/esqueca-rails-aprenda-ruby/&amp;title=Esque%C3%A7a+Rails%3A+Aprenda+Ruby%21" title="Post to Digg"><img class="nothumb" src="http://ruyrocha.com/wp-content/plugins/tweet-this/icons/en/digg/tt-digg.png" alt="tt digg Esqueça Rails: Aprenda Ruby!"  title="Esqueça Rails: Aprenda Ruby!" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://digg.com/submit?url=http://ruyrocha.com/esqueca-rails-aprenda-ruby/&amp;title=Esque%C3%A7a+Rails%3A+Aprenda+Ruby%21" title="Post to Digg">Digg This Post</a> <a target="_blank" rel="nofollow" class="tt" href="http://www.facebook.com/share.php?u=http://ruyrocha.com/esqueca-rails-aprenda-ruby/&amp;t=Esque%C3%A7a+Rails%3A+Aprenda+Ruby%21" title="Post to Facebook"><img class="nothumb" src="http://ruyrocha.com/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook.png" alt="tt facebook Esqueça Rails: Aprenda Ruby!"  title="Esqueça Rails: Aprenda Ruby!" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://www.facebook.com/share.php?u=http://ruyrocha.com/esqueca-rails-aprenda-ruby/&amp;t=Esque%C3%A7a+Rails%3A+Aprenda+Ruby%21" title="Post to Facebook">Post to Facebook</a> <a target="_blank" rel="nofollow" class="tt" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://ruyrocha.com/esqueca-rails-aprenda-ruby/&amp;title=Esque%C3%A7a+Rails%3A+Aprenda+Ruby%21&amp;summary=Esque%C3%A7a+Ruby+On+Rails+-+framework+-+e+aprenda+Ruby%2C+a+linguagem.+Perdi+50+anos+pra+fazer+algo+rid%C3%ADculo+com+jQuery.+N%C3%A3o+sei+nada+de+Javascript+e+por...&amp;source=Ruy Rocha" title="Post to LinkedIn"><img class="nothumb" src="http://ruyrocha.com/wp-content/plugins/tweet-this/icons/en/linkedin/tt-linkedin.png" alt="tt linkedin Esqueça Rails: Aprenda Ruby!"  title="Esqueça Rails: Aprenda Ruby!" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://ruyrocha.com/esqueca-rails-aprenda-ruby/&amp;title=Esque%C3%A7a+Rails%3A+Aprenda+Ruby%21&amp;summary=Esque%C3%A7a+Ruby+On+Rails+-+framework+-+e+aprenda+Ruby%2C+a+linguagem.+Perdi+50+anos+pra+fazer+algo+rid%C3%ADculo+com+jQuery.+N%C3%A3o+sei+nada+de+Javascript+e+por...&amp;source=Ruy Rocha" title="Post to LinkedIn">Post to LinkedIn</a></p></div><div class="al2fb_like_button"><div id="fb-root"></div><script src="http://connect.facebook.net/pt_BR/all.js#appId=159773440769970&amp;xfbml=1" type="text/javascript"></script>
<fb:like href="http://ruyrocha.com/esqueca-rails-aprenda-ruby/" send="true" layout="standard" show_faces="true" width="450" action="like" font="arial" colorscheme="light" ref="AL2FB"></fb:like></div>]]></content:encoded>
			<wfw:commentRss>http://ruyrocha.com/esqueca-rails-aprenda-ruby/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

