<?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>Keep Learning &#187; Plugin</title>
	<atom:link href="http://blog.lucashungaro.com/category/plugin/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.lucashungaro.com</link>
	<description>Conhecimento nunca é o bastante</description>
	<lastBuildDate>Tue, 10 Apr 2012 17:18:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Contribuindo: plugin reserved_attributes para Rails</title>
		<link>http://blog.lucashungaro.com/2008/04/07/contribuindo-plugin-reserved_attributes-para-rails/</link>
		<comments>http://blog.lucashungaro.com/2008/04/07/contribuindo-plugin-reserved_attributes-para-rails/#comments</comments>
		<pubDate>Mon, 07 Apr 2008 16:46:04 +0000</pubDate>
		<dc:creator>Lucas Húngaro</dc:creator>
				<category><![CDATA[Plugin]]></category>
		<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://www.makemesimple.com/blog/2008/04/07/contribuindo-plugin-reserved_attributes-para-rails/</guid>
		<description><![CDATA[(nota: esta é a &#8220;tradução&#8221; do post anterior) Esta é minha primeira contribuição para a comunidade Rails: o plugin reserved_attributes. O plugin é muito simples, apenas adicionando uma task rake ao seu projeto. A task varre todos os seus modelos procurando por attributos que tenham nomes que são palavras reservadas do Ruby/Rails e te avisando [...]]]></description>
			<content:encoded><![CDATA[<p><em>(nota: esta é a &#8220;tradução&#8221; do post anterior)</em></p>
<p>Esta é minha primeira contribuição para a comunidade Rails: <a href="http://github.com/lucashungaro/reserved_attributes/tree/master" target="_blank">o plugin reserved_attributes</a>.</p>
<p>O plugin é muito simples, apenas adicionando uma task rake ao seu projeto. A task varre todos os seus modelos procurando por attributos que tenham nomes que são palavras reservadas do Ruby/Rails e te avisando disso.</p>
<p>Há algum tempo atrás desperdicei 8 horas de trabalho porque meus testes unitários davam um erro muito estranho (e um trace gigantesco). No fim das contas, eu tinha um atributo chamado &#8220;notify&#8221;, que é o nome de um método interno, então eu estava sobrescrevendo esse método e bagunçando tudo. Vi muita gente com esse problema, então aqui está uma pequena ajuda. <a href="http://github.com/lucashungaro/reserved_attributes/tree/master" target="_blank">Dê uma olhada na página principal do repositório</a> para ver o README com instruções.</p>
<p>O plugin está hospedado no <a href="http://www.github.com" target="_blank">github</a> e você é livre para fazer um fork e melhorá-lo.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lucashungaro.com/2008/04/07/contribuindo-plugin-reserved_attributes-para-rails/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Contributing: reserved_attributes Rails plugin</title>
		<link>http://blog.lucashungaro.com/2008/04/07/contributing-reserved_attributes-rails-plugin/</link>
		<comments>http://blog.lucashungaro.com/2008/04/07/contributing-reserved_attributes-rails-plugin/#comments</comments>
		<pubDate>Mon, 07 Apr 2008 16:37:53 +0000</pubDate>
		<dc:creator>Lucas Húngaro</dc:creator>
				<category><![CDATA[In English]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://www.makemesimple.com/blog/2008/04/07/contributing-reserved_attributes-rails-plugin/</guid>
		<description><![CDATA[Here&#8217;s my first contribution to the Rails community: the reserved_attributes plugin. The plugin is very simple, just adding a rake task to your project. The task scans all your models checking its attributes (columns) and warning you if any of them have a name that are a Ruby/Rails reserved word. Some time ago I spent [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s my first contribution to the Rails community: <a href="http://github.com/lucashungaro/reserved_attributes/tree/master" target="_blank">the reserved_attributes plugin</a>.</p>
<p>The plugin is very simple, just adding a rake task to your project. The task scans all your models checking its attributes (columns) and warning you if any of them have a name that are a Ruby/Rails reserved word.</p>
<p>Some time ago I spent about 8 hours of work because my unit tests was breaking with a very strange error (and a gigantic trace). It turns out that I was using an attribute called &#8220;notify&#8221; and there&#8217;s already an internal method with that name, so I was overriding it and breaking everything. I&#8217;ve seen many people with the same problem, so here&#8217;s a little help. <a href="http://github.com/lucashungaro/reserved_attributes/tree/master" target="_blank">Take a look at the repository main page</a> to see the README file with instructions.</p>
<p>The plugin is hosted at <a href="http://www.github.com" target="_blank">github</a> and you&#8217;re free to fork and improve it.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lucashungaro.com/2008/04/07/contributing-reserved_attributes-rails-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

