<?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>Pedro Pimentel &#187; rails</title>
	<atom:link href="http://www.pedropimentel.com/category/rails/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pedropimentel.com</link>
	<description>Ruby on Rails Evangelist</description>
	<lastBuildDate>Tue, 31 Aug 2010 20:19:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Slides from RS on Rails 2010</title>
		<link>http://www.pedropimentel.com/2010/08/31/slides-from-rs-on-rails-2010/</link>
		<comments>http://www.pedropimentel.com/2010/08/31/slides-from-rs-on-rails-2010/#comments</comments>
		<pubDate>Tue, 31 Aug 2010 20:19:40 +0000</pubDate>
		<dc:creator>Pedro Pimentel</dc:creator>
				<category><![CDATA[conferences]]></category>
		<category><![CDATA[events]]></category>
		<category><![CDATA[personal]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[conference]]></category>
		<category><![CDATA[rais]]></category>

		<guid isPermaLink="false">http://www.pedropimentel.com/?p=242</guid>
		<description><![CDATA[<br />
<b>Warning</b>:  strip_tags() expects parameter 1 to be string, array given in <b>/var/www/php_apps/pedropimentel.com/wp-includes/formatting.php</b> on line <b>631</b><br />
<br />
<b>Warning</b>:  strip_tags() expects parameter 1 to be string, array given in <b>/var/www/php_apps/pedropimentel.com/wp-includes/formatting.php</b> on line <b>631</b><br />

On August, 21st of 2010, at RS on Rails 2010, I and Robson Mendonça gave a talk about a game development framework for Ruby called Chingu. Our main goal with this talk was to  show that you can have fun with pure Ruby without riding Rails. I believe we successfully achieved that!  
For [...]


Probably Related posts:<ol><li><a href='http://www.pedropimentel.com/2008/06/09/rails-21-whats-new/' rel='bookmark' title='Permanent Link: RELEASED &#8211; &#8220;Rails 2.1 &#8211; What`s new ?&#8221; Book'>RELEASED &#8211; &#8220;Rails 2.1 &#8211; What`s new ?&#8221; Book</a></li>
<li><a href='http://www.pedropimentel.com/2008/06/02/open-source-rails/' rel='bookmark' title='Permanent Link: Open Source Rails'>Open Source Rails</a></li>
<li><a href='http://www.pedropimentel.com/2008/01/22/i18n/' rel='bookmark' title='Permanent Link: Internacionalizando uma aplicação rails'>Internacionalizando uma aplicação rails</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<br />
<b>Warning</b>:  strip_tags() expects parameter 1 to be string, array given in <b>/var/www/php_apps/pedropimentel.com/wp-includes/formatting.php</b> on line <b>631</b><br />
<p style="text-align: center;"><img class="aligncenter" title="Rs on Rails 2010" src="http://www.rsrails.com.br/images/rsrails_2010.png?1278445889" alt="Rs on Rails 2010" width="450" height="150" /></p>
<p>On August, 21st of 2010, at RS on Rails 2010, I and <a href="http://www.myweboncreate.com/">Robson Mendonça</a> gave a talk about a game development framework for Ruby called <a href="http://ippa.se/chingu">Chingu</a>. Our main goal with this talk was to  show that you can have fun with pure Ruby without riding Rails. I believe we successfully achieved that! <img src='http://www.pedropimentel.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>For those who might have interest, below are our slides (Portuguese only).  Our game&#8217;s source code you can find at <a href="http://github.com/zukunftsalick/ruby-raid">zukunftsalick&#8217;s github</a>.</p>
<p>Ah, one more thing: On September, 12th, I and <a href="http://twitter.com/cv">Carlos Villela</a> will be giving a talk at qCon São Paulo. We&#8217;ll be presenting &#8220;<a href="http://www.qconsp.com/palestra/carlos-villela/especificacoes-de-fora-pra-dentro-usando-bdd-e-selenium-2">Especificações de Fora pra Dentro Usando BDD e Selenium 2</a>&#8221; roughly translated to &#8220;Specifications from outside-in using BDD and Selenium 2&#8243;. See you guys there!</p>
<div id="__ss_5060254" style="width: 425px; text-align: left;"><strong style="display:block;margin:12px 0 4px"><a title="Rs on Rails 2010" href="http://www.slideshare.net/zukunftsalick/rs-on-rails-2010">Rs on Rails 2010</a></strong><object id="__sse5060254" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="355" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="src" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=rsrails20101-100826081831-phpapp02&amp;stripped_title=rs-on-rails-2010" /><param name="name" value="__sse5060254" /><param name="allowfullscreen" value="true" /><embed id="__sse5060254" type="application/x-shockwave-flash" width="425" height="355" src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=rsrails20101-100826081831-phpapp02&amp;stripped_title=rs-on-rails-2010" name="__sse5060254" allowscriptaccess="always" allowfullscreen="true"></embed></object>View more <a href="http://www.slideshare.net/">presentations</a> from <a href="http://www.slideshare.net/zukunftsalick">Pedro Pimentel</a>.</div>


<p>Probably Related posts:<ol><li><a href='http://www.pedropimentel.com/2008/06/09/rails-21-whats-new/' rel='bookmark' title='Permanent Link: RELEASED &#8211; &#8220;Rails 2.1 &#8211; What`s new ?&#8221; Book'>RELEASED &#8211; &#8220;Rails 2.1 &#8211; What`s new ?&#8221; Book</a></li>
<li><a href='http://www.pedropimentel.com/2008/06/02/open-source-rails/' rel='bookmark' title='Permanent Link: Open Source Rails'>Open Source Rails</a></li>
<li><a href='http://www.pedropimentel.com/2008/01/22/i18n/' rel='bookmark' title='Permanent Link: Internacionalizando uma aplicação rails'>Internacionalizando uma aplicação rails</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.pedropimentel.com/2010/08/31/slides-from-rs-on-rails-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>View sql queries in your console</title>
		<link>http://www.pedropimentel.com/2009/03/22/view-sql-queries-in-your-console/</link>
		<comments>http://www.pedropimentel.com/2009/03/22/view-sql-queries-in-your-console/#comments</comments>
		<pubDate>Sun, 22 Mar 2009 21:45:02 +0000</pubDate>
		<dc:creator>Pedro Pimentel</dc:creator>
				<category><![CDATA[hints]]></category>
		<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">http://www.pedropimentel.com/?p=123</guid>
		<description><![CDATA[<br />
<b>Warning</b>:  strip_tags() expects parameter 1 to be string, array given in <b>/var/www/php_apps/pedropimentel.com/wp-includes/formatting.php</b> on line <b>631</b><br />
<br />
<b>Warning</b>:  strip_tags() expects parameter 1 to be string, array given in <b>/var/www/php_apps/pedropimentel.com/wp-includes/formatting.php</b> on line <b>631</b><br />
Don&#8217;t you think it&#8217;s really irritating when, in the console, you are testing your model&#8217;s methods and everytime you need to check how each SQL query was formed you need to go to another tab to visualize the log ???
Your frustation is over. Just add the following lines in your .irbrc file:

def log_to
  ActiveRecord::Base.logger [...]


Probably Related posts:<ol><li><a href='http://www.pedropimentel.com/2008/10/01/how_to_run_just_one_test_from_your_terminal/' rel='bookmark' title='Permanent Link: How to Run Just one Test Method from your Terminal'>How to Run Just one Test Method from your Terminal</a></li>
<li><a href='http://www.pedropimentel.com/2008/06/09/rails-21-whats-new/' rel='bookmark' title='Permanent Link: RELEASED &#8211; &#8220;Rails 2.1 &#8211; What`s new ?&#8221; Book'>RELEASED &#8211; &#8220;Rails 2.1 &#8211; What`s new ?&#8221; Book</a></li>
<li><a href='http://www.pedropimentel.com/2008/06/02/open-source-rails/' rel='bookmark' title='Permanent Link: Open Source Rails'>Open Source Rails</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<br />
<b>Warning</b>:  strip_tags() expects parameter 1 to be string, array given in <b>/var/www/php_apps/pedropimentel.com/wp-includes/formatting.php</b> on line <b>631</b><br />
<p>Don&#8217;t you think it&#8217;s really irritating when, in the console, you are testing your model&#8217;s methods and everytime you need to check how each SQL query was formed you need to go to another tab to visualize the log ???</p>
<p>Your frustation is over. Just add the following lines in your .irbrc file:</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;"><span style="color:#9966CC; font-weight:bold;">def</span> log_to
  <span style="color:#6666ff; font-weight:bold;">ActiveRecord::Base</span>.<span style="color:#9900CC;">logger</span> = <span style="color:#CC00FF; font-weight:bold;">Logger</span>.<span style="color:#9900CC;">new</span><span style="color:#006600; font-weight:bold;">&#40;</span>$stdout<span style="color:#006600; font-weight:bold;">&#41;</span>
  <span style="color:#6666ff; font-weight:bold;">ActiveRecord::Base</span>.<span style="color:#9900CC;">connection_pool</span>.<span style="color:#9900CC;">clear_reloadable_connections</span>!
<span style="color:#9966CC; font-weight:bold;">end</span></pre></div></div>

<p>You can change the method&#8217;s name to whatever suits your needs. After that, every time you are in your application&#8217;s console you just type <em>log_to</em> and you&#8217;re ready to go:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&gt;&gt;</span> log_to
=<span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #000000; font-weight: bold;">&gt;&gt;</span> MyModel.count
  SQL <span style="color: #7a0874; font-weight: bold;">&#40;</span>1.8ms<span style="color: #7a0874; font-weight: bold;">&#41;</span> SELECT count<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #c20cb9; font-weight: bold;">as</span> count_all FROM <span style="color: #ff0000;">&quot;mymodels&quot;</span>
=<span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000;">10</span></pre></div></div>

<p>This hint I got it from <a title="Pratik Naik" href="http://m.onkey.org/">Pratik Naik</a> while doing pair programming with him at the company I work.</p>


<p>Probably Related posts:<ol><li><a href='http://www.pedropimentel.com/2008/10/01/how_to_run_just_one_test_from_your_terminal/' rel='bookmark' title='Permanent Link: How to Run Just one Test Method from your Terminal'>How to Run Just one Test Method from your Terminal</a></li>
<li><a href='http://www.pedropimentel.com/2008/06/09/rails-21-whats-new/' rel='bookmark' title='Permanent Link: RELEASED &#8211; &#8220;Rails 2.1 &#8211; What`s new ?&#8221; Book'>RELEASED &#8211; &#8220;Rails 2.1 &#8211; What`s new ?&#8221; Book</a></li>
<li><a href='http://www.pedropimentel.com/2008/06/02/open-source-rails/' rel='bookmark' title='Permanent Link: Open Source Rails'>Open Source Rails</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.pedropimentel.com/2009/03/22/view-sql-queries-in-your-console/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How to Run Just one Test Method from your Terminal</title>
		<link>http://www.pedropimentel.com/2008/10/01/how_to_run_just_one_test_from_your_terminal/</link>
		<comments>http://www.pedropimentel.com/2008/10/01/how_to_run_just_one_test_from_your_terminal/#comments</comments>
		<pubDate>Thu, 02 Oct 2008 01:45:07 +0000</pubDate>
		<dc:creator>Pedro Pimentel</dc:creator>
				<category><![CDATA[hints]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[ruby test]]></category>

		<guid isPermaLink="false">http://www.pedropimentel.com/?p=75</guid>
		<description><![CDATA[<br />
<b>Warning</b>:  strip_tags() expects parameter 1 to be string, array given in <b>/var/www/php_apps/pedropimentel.com/wp-includes/formatting.php</b> on line <b>631</b><br />
<br />
<b>Warning</b>:  strip_tags() expects parameter 1 to be string, array given in <b>/var/www/php_apps/pedropimentel.com/wp-includes/formatting.php</b> on line <b>631</b><br />
Many times I found myself running all tests just after modifying just one test method. Depending on the size of your project and its test ratio, it can be a very boring waiting for it to finish.
It can be even worse: Imagine you have other tests failing. How can you improve your productivity ?  Just [...]


Probably Related posts:<ol><li><a href='http://www.pedropimentel.com/2009/12/15/method-dispatch-in-ruby/' rel='bookmark' title='Permanent Link: Method dispatch in Ruby'>Method dispatch in Ruby</a></li>
<li><a href='http://www.pedropimentel.com/2008/07/28/writing-optioned-software/' rel='bookmark' title='Permanent Link: Writing Opinionated Software'>Writing Opinionated Software</a></li>
<li><a href='http://www.pedropimentel.com/2009/03/22/view-sql-queries-in-your-console/' rel='bookmark' title='Permanent Link: View sql queries in your console'>View sql queries in your console</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<br />
<b>Warning</b>:  strip_tags() expects parameter 1 to be string, array given in <b>/var/www/php_apps/pedropimentel.com/wp-includes/formatting.php</b> on line <b>631</b><br />
<p>Many times I found myself running all tests just after modifying just one test method. Depending on the size of your project and its test ratio, it can be a very boring waiting for it to finish.</p>
<p>It can be even worse: Imagine you have other tests failing. How can you improve your productivity ?  Just use the &#8220;-n method_name&#8221; parameter for the method you want to test.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">ruby path_to_your_test_case <span style="color: #660033;">-n</span> method_you_want_to_test</pre></div></div>

<p>A real example, I want to test the &#8220;test_should_do_stuff&#8221; method inside my &#8220;stuff_controller_test.rb&#8221;:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">ruby test<span style="color: #000000; font-weight: bold;">/</span>functional<span style="color: #000000; font-weight: bold;">/</span>stuff_controller_test.rb <span style="color: #660033;">-n</span> test_should_do_stuff</pre></div></div>

<p>Worth remember that stills load your fixtures and preforms setup, it only won&#8217;t execute the other test methods.</p>


<p>Probably Related posts:<ol><li><a href='http://www.pedropimentel.com/2009/12/15/method-dispatch-in-ruby/' rel='bookmark' title='Permanent Link: Method dispatch in Ruby'>Method dispatch in Ruby</a></li>
<li><a href='http://www.pedropimentel.com/2008/07/28/writing-optioned-software/' rel='bookmark' title='Permanent Link: Writing Opinionated Software'>Writing Opinionated Software</a></li>
<li><a href='http://www.pedropimentel.com/2009/03/22/view-sql-queries-in-your-console/' rel='bookmark' title='Permanent Link: View sql queries in your console'>View sql queries in your console</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.pedropimentel.com/2008/10/01/how_to_run_just_one_test_from_your_terminal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RailsConf Europe 2008 &#8211; Primeiro Dia</title>
		<link>http://www.pedropimentel.com/2008/09/03/railsconf-europe-2008-primeiro-dia/</link>
		<comments>http://www.pedropimentel.com/2008/09/03/railsconf-europe-2008-primeiro-dia/#comments</comments>
		<pubDate>Wed, 03 Sep 2008 15:37:20 +0000</pubDate>
		<dc:creator>Pedro Pimentel</dc:creator>
				<category><![CDATA[events]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[dhh]]></category>
		<category><![CDATA[railsconf]]></category>

		<guid isPermaLink="false">http://www.pedropimentel.com/?p=69</guid>
		<description><![CDATA[<br />
<b>Warning</b>:  strip_tags() expects parameter 1 to be string, array given in <b>/var/www/php_apps/pedropimentel.com/wp-includes/formatting.php</b> on line <b>631</b><br />
<br />
<b>Warning</b>:  strip_tags() expects parameter 1 to be string, array given in <b>/var/www/php_apps/pedropimentel.com/wp-includes/formatting.php</b> on line <b>631</b><br />

Ontem foi o Tutorials`s Day da RailsConf, mas só hoje que começou oficialmente a RailsConf Europe. Este ano tendo a presença do criador do framework Rails, (David Heinemeier Hansson) para apresentar o Keynote de kick-off da conferência.
No keynote, David falou sobre código legado. A primeira parte da palestra teve um tom mais filosófico, que tem [...]


Probably Related posts:<ol><li><a href='http://www.pedropimentel.com/2008/08/20/portal-uca/' rel='bookmark' title='Permanent Link: Portal UCA'>Portal UCA</a></li>
<li><a href='http://www.pedropimentel.com/2008/01/22/i18n/' rel='bookmark' title='Permanent Link: Internacionalizando uma aplicação rails'>Internacionalizando uma aplicação rails</a></li>
<li><a href='http://www.pedropimentel.com/2008/06/02/open-source-rails/' rel='bookmark' title='Permanent Link: Open Source Rails'>Open Source Rails</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<br />
<b>Warning</b>:  strip_tags() expects parameter 1 to be string, array given in <b>/var/www/php_apps/pedropimentel.com/wp-includes/formatting.php</b> on line <b>631</b><br />
<p style="text-align: center;"><a href="http://www.pedropimentel.com/wp-content/uploads/2008/09/p1010477.jpg"><img class="size-medium wp-image-71" title="Black" src="http://www.pedropimentel.com/wp-content/uploads/2008/09/p1010477-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p>Ontem foi o Tutorials`s Day da RailsConf, mas só hoje que começou oficialmente a RailsConf Europe. Este ano tendo a presença do criador do framework Rails, (<span class="description">David Heinemeier Hansson) para apresentar o Keynote de kick-off da conferência.</span></p>
<p>No keynote, David falou sobre código legado. A primeira parte da palestra teve um tom mais filosófico, que tem sido (em minha opinião) uma presença cada vez mais constante nas apresentações do David. Ele comentou sobre a importância de termos código legado, que segundo ele, um bom programador é um bom programador se ele tiver escrito bastante código legado. É impossível escrever código que não se torne legado, por isso David defende que código legado deve ser mudado lentamente, sempre que for preciso corrigir algum bug ou implementar uma nova funcionalidade em um código legado, você deve aproveitar a oportunidade para deixar o código melhor e mais bonito. Durante a apresentação ele mostrou exemplos práticos de como refator código legado. O legal foi que ele mostrou isso, usando o código do Basecamp, que é a primeira aplicação feita em Rails, logo código mais legado que isso não tem heheh. Ele comentou sobre a importância de saber onde colocar as coisas em sua aplicação, dando exemplos do que tinha no Basecamp, como um Global Controller, que agregava muitos métodos que só foram parar lá por não saber onde colocar.</p>
<p style="text-align: center;"><a href="http://www.pedropimentel.com/wp-content/uploads/2008/09/p1010480.jpg"><img class="size-medium wp-image-72" title="Slide do DHH" src="http://www.pedropimentel.com/wp-content/uploads/2008/09/p1010480-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p>Logo em seguida, foi o break e aproveitei pra conhecer pessoalmente o <a title="Michael Korziarki `s blog" href="http://www.koziarski.net/" target="_blank">Michael Koziarski</a> que é um dos membros do core team do Rails. Ele é um cara bastante acessível e conversamos sobre o RailsSummit no Brasil. Ele disse que adoraria participar do RailsSummit, mas que tem viajado demais e não iria poder comparecer.</p>
<p>Após o break, escolhi ir na palestra &#8220;Hacking the mid-end: Unobtrusive Scripting and advanced UI techniques in Rails&#8221; apresentada pelo <a title="Intridea Website" href="http://intridea.com/" target="_blank">Michael Bleigh e Chris Selmer</a>, ambos da Intridea. Eles apresentaram, em dois casos de uso, como usar Jquery e comportamento lowpro para manter separados comportamento (funcionamento) e markup de uma aplicação. Basicamente, os dois exemplos trataram de garantir o funcionamento da aplicação com e sem javascript, sem colocar lógica nos views.</p>
<p><a href="http://www.pedropimentel.com/wp-content/uploads/2008/09/picture-1.png"></a>Em seguida, assisti a palestra &#8220;Rails Software Metrics&#8221; feita <a title="Roderick`s site" href="http://www.nedforce.nl/" target="_blank">Roderick Van Domburg</a> da Nedforce, uma empresa holandesa de solucões Rails. Foi apresentado um conjunto de ferramentas para analisar a sua aplicação em termos de métricas de software. Flog, que é uma gem para auxiliar refactoring, falu do Rcov e seu plugin para rails, do Heckle que parece bem legal, pois ele além de analisar a cobertura de testes em sua aplicação, também altera o código dinamicamente. Lembro de ter visto algo parecido em uma palestra chamada &#8220;Machucando seu código&#8221; que o Fábio Akita disponibilizou traduzida em seu blog. Terminou a palestra comentando sobre o metrics_fu, que são um conjunto de tarefas Rake para usar com o software de integração CruiseControl.rb. Fiquei surpreso com a quantidade de pessoas que disseram usar CruiseControl, assim que possível vou dar uma atenção a isso. É claro que todas essas técnicas de medição de software não valem nada se você não definir metas e procedimentos para analisar elas, caso contrário, serão somente números soltos.</p>
<p style="text-align: center;"><img class="size-medium wp-image-70" title="DHH e eu" src="http://www.pedropimentel.com/wp-content/uploads/2008/09/picture-1-300x218.png" alt="DHH e eu" width="300" height="218" /></p>
<p>Após o almoço, assisti &#8220;Intellectual Scalability &#8211; Solving a large problem with multiple  cooperating rails apps&#8221; dada por <a title="Texperts website" href="http://www.texperts.com/" target="_blank">Frederick Cheung e Paul Butcher, ambos da Texperts</a>. Apresentaram um caso de uso real enfretado por eles na Texperts, onde eles precisaram encontrar uma solução escalável para uma aplicação que iria crescer muito.  A solução (muito semelhante a usar Rails Engines) consistiu em dividir a funcionalidade entre diveras pequenas aplicações. Certo, mas como eles fizeram isso ? Eles mostraram com uma aplicação bem simples o funcionamento do &#8220;framework&#8221; próprio criado por eles para encarar o problema. Foi uma palestra bem técnica, com bastante código sendo feito ao vivo. Gostei bastante.</p>
<p>Em seguida, não havia nenhum assunto que me interasse e acabei assistindo &#8220;Scaffolding an application from schema.rb&#8221; dada por <a title="Tomaso Minelli" href="http://homes.stat.unipd.it/minni" target="_blank">Tomaso Minelli</a>. O Tomaso é Italiano e tinha um sotaque carregado, que deixou a palestra um tanto &#8220;arrastada&#8221;. Foi uma palestra bem iniciante, onde ele apresentous as principais soluções de scaffolding do mercado e apresentou sua própria solucação de scaffolding que é apartir do schema.rb. Ele basicamente redefiniu o método ActiveRecord::Schema.define.</p>
<p>A última palestra o dia foi &#8220;Stories on a cloud &#8211; Distributed browser testing with selenium&#8221; dada pelo <a title="Beyond the type" href="http://www.beyondthetype.com/" target="_blank">Martin Sadler</a>. Com o javascript cada vez mais sendo usado hoje em dia, é preciso termos como garantir que nossas aplicações funcionem bem independente de navegador ou sistema operacional. Ele mostrou o<a title="webrat" href="http://agilewebdevelopment.com/plugins/webrat" target="_blank"> Webrat</a> e RSpec Stories, e logo em seguida mostrou como unir o melhor de cada um atrelando a um servidor Selenium distribuído em vários computadores usando um sistema de mensagens para executar os testes em cada computador. Foi bem bacana, só faltou um exemplo ao vivo pra me convencer.</p>
<p>No momento que escrevo este post, Jeremy Kemper, outro membro do core team, está dando um keynote de encerramento. Se for legal, posto o que ele falou mais tarde.</p>
<p>=D</p>


<p>Probably Related posts:<ol><li><a href='http://www.pedropimentel.com/2008/08/20/portal-uca/' rel='bookmark' title='Permanent Link: Portal UCA'>Portal UCA</a></li>
<li><a href='http://www.pedropimentel.com/2008/01/22/i18n/' rel='bookmark' title='Permanent Link: Internacionalizando uma aplicação rails'>Internacionalizando uma aplicação rails</a></li>
<li><a href='http://www.pedropimentel.com/2008/06/02/open-source-rails/' rel='bookmark' title='Permanent Link: Open Source Rails'>Open Source Rails</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.pedropimentel.com/2008/09/03/railsconf-europe-2008-primeiro-dia/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Portal UCA</title>
		<link>http://www.pedropimentel.com/2008/08/20/portal-uca/</link>
		<comments>http://www.pedropimentel.com/2008/08/20/portal-uca/#comments</comments>
		<pubDate>Wed, 20 Aug 2008 03:50:06 +0000</pubDate>
		<dc:creator>Pedro Pimentel</dc:creator>
				<category><![CDATA[events]]></category>
		<category><![CDATA[personal]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[railsconf]]></category>

		<guid isPermaLink="false">http://www.pedropimentel.com/?p=53</guid>
		<description><![CDATA[<br />
<b>Warning</b>:  strip_tags() expects parameter 1 to be string, array given in <b>/var/www/php_apps/pedropimentel.com/wp-includes/formatting.php</b> on line <b>631</b><br />
<br />
<b>Warning</b>:  strip_tags() expects parameter 1 to be string, array given in <b>/var/www/php_apps/pedropimentel.com/wp-includes/formatting.php</b> on line <b>631</b><br />

Está quase pronto o Portal UCA ( um computador por aluno) o qual irá agregar os estudos de caso realizados durante o projeto piloto com o laptop XO.
Após o término do mesmo irei disponibilizar, em alusão ao portal, um estudo de caso de como foi desenvolvido, plugins utilizados, problemas enfrentados e demais questões enfrentadas no [...]


Probably Related posts:<ol><li><a href='http://www.pedropimentel.com/2008/09/03/railsconf-europe-2008-primeiro-dia/' rel='bookmark' title='Permanent Link: RailsConf Europe 2008 &#8211; Primeiro Dia'>RailsConf Europe 2008 &#8211; Primeiro Dia</a></li>
<li><a href='http://www.pedropimentel.com/2008/06/02/open-source-rails/' rel='bookmark' title='Permanent Link: Open Source Rails'>Open Source Rails</a></li>
<li><a href='http://www.pedropimentel.com/2008/04/14/fisl-90/' rel='bookmark' title='Permanent Link: FISL 9.0'>FISL 9.0</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<br />
<b>Warning</b>:  strip_tags() expects parameter 1 to be string, array given in <b>/var/www/php_apps/pedropimentel.com/wp-includes/formatting.php</b> on line <b>631</b><br />
<p style="text-align: center;"><a href="http://www.pedropimentel.com/wp-content/uploads/2008/08/picture-18.png"><img class="size-medium wp-image-52" title="Portal UCA" src="http://www.pedropimentel.com/wp-content/uploads/2008/08/picture-18-300x197.png" alt="Portal UCA" width="300" height="197" /></a></p>
<p>Está quase pronto o Portal UCA ( um computador por aluno) o qual irá agregar os estudos de caso realizados durante o projeto piloto com o laptop XO.</p>
<p>Após o término do mesmo irei disponibilizar, em alusão ao portal, um estudo de caso de como foi desenvolvido, plugins utilizados, problemas enfrentados e demais questões enfrentadas no desenvolvimento para ajudar quem está iniciando no mundo Rails, pois é uma aplicação bem simples, mas que apresenta bons detalhes pra quem está recém se aventurando com Ruby on Rails.</p>
<p>Outra novidade: irei participar da minha primeira RailsConf e vai ser na europa, mais precisamente em Berlim. Para saber mais sobre a conferência acesse o link que está na minha barra lateral aqui do blog. Pretendo é claro fazer uma cobertura do que eu presenciar por lá, fiquem no aguardo.</p>


<p>Probably Related posts:<ol><li><a href='http://www.pedropimentel.com/2008/09/03/railsconf-europe-2008-primeiro-dia/' rel='bookmark' title='Permanent Link: RailsConf Europe 2008 &#8211; Primeiro Dia'>RailsConf Europe 2008 &#8211; Primeiro Dia</a></li>
<li><a href='http://www.pedropimentel.com/2008/06/02/open-source-rails/' rel='bookmark' title='Permanent Link: Open Source Rails'>Open Source Rails</a></li>
<li><a href='http://www.pedropimentel.com/2008/04/14/fisl-90/' rel='bookmark' title='Permanent Link: FISL 9.0'>FISL 9.0</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.pedropimentel.com/2008/08/20/portal-uca/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

