<?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>Silence is Foo &#187; rails</title>
	<atom:link href="http://raflabs.com/blogs/silence-is-foo/tag/rails/feed/" rel="self" type="application/rss+xml" />
	<link>http://raflabs.com/blogs/silence-is-foo</link>
	<description>Mental notes on Ruby, Git, Rails and whatever geeky thing</description>
	<lastBuildDate>Thu, 07 Apr 2011 19:11:16 +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>Configuring Rails&#8217; ActionMailer to work with sendmail in Linux</title>
		<link>http://raflabs.com/blogs/silence-is-foo/2011/02/07/configuring-rails-3s-actionmailer-work-sendmail-debian/</link>
		<comments>http://raflabs.com/blogs/silence-is-foo/2011/02/07/configuring-rails-3s-actionmailer-work-sendmail-debian/#comments</comments>
		<pubDate>Mon, 07 Feb 2011 20:35:10 +0000</pubDate>
		<dc:creator>raf</dc:creator>
				<category><![CDATA[rails]]></category>
		<category><![CDATA[actionmailer]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[sendmail]]></category>

		<guid isPermaLink="false">http://raflabs.com/blogs/silence-is-foo/?p=1086</guid>
		<description><![CDATA[For some reason I wanted to use sendmail as delivery method in a Rails 3 project I'm working on, the configuration was easy, you can check it out in the official ActionMailer Basics Guide, but I'll show you here the most important line:
Put it in your config/application.rb to use sendmail globally or in any of [...]]]></description>
		<wfw:commentRss>http://raflabs.com/blogs/silence-is-foo/2011/02/07/configuring-rails-3s-actionmailer-work-sendmail-debian/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Accessing different versions of the Rails Guides</title>
		<link>http://raflabs.com/blogs/silence-is-foo/2010/09/03/accessing-versions-rails-guides/</link>
		<comments>http://raflabs.com/blogs/silence-is-foo/2010/09/03/accessing-versions-rails-guides/#comments</comments>
		<pubDate>Sat, 04 Sep 2010 02:03:51 +0000</pubDate>
		<dc:creator>raf</dc:creator>
				<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">http://raflabs.com/blogs/silence-is-foo/?p=937</guid>
		<description><![CDATA[In case you're looking for older versions of the Rails Guides I just created a site with the v2.3.5 ones, besides, if you want to download the guides for the v3.0.0, you will be able to do so as well.
http://railsguides.heroku.com
You can download the source code of the site (Sinatra app) from Github:
http://github.com/rafmagana/rails_guides
reddit_url = http://raflabs.com/blogs/silence-is-foo/2010/09/03/accessing-versions-rails-guides/;reddit_title = [...]]]></description>
		<wfw:commentRss>http://raflabs.com/blogs/silence-is-foo/2010/09/03/accessing-versions-rails-guides/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mimicking Rails 3&#8217;s ActiveRecord query interface in Rails 2.x</title>
		<link>http://raflabs.com/blogs/silence-is-foo/2010/08/30/mimicking-rails-3s-activerecord-query-interface-in-rails-2/</link>
		<comments>http://raflabs.com/blogs/silence-is-foo/2010/08/30/mimicking-rails-3s-activerecord-query-interface-in-rails-2/#comments</comments>
		<pubDate>Mon, 30 Aug 2010 20:09:37 +0000</pubDate>
		<dc:creator>raf</dc:creator>
				<category><![CDATA[rails]]></category>
		<category><![CDATA[activerecord]]></category>
		<category><![CDATA[rails3]]></category>

		<guid isPermaLink="false">http://raflabs.com/blogs/silence-is-foo/?p=903</guid>
		<description><![CDATA[NOTICE: This is only for educational and fun purposes, nothing else. I'm not trying to say that you'll get all the pros of the new query interface in Rails 2.x, it isn't even close.
The first time I used the new ActiveRecord query interface (Rails 3) I started to get boring with the one in Rails [...]]]></description>
		<wfw:commentRss>http://raflabs.com/blogs/silence-is-foo/2010/08/30/mimicking-rails-3s-activerecord-query-interface-in-rails-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My friend the Rails console &#8211; Part II</title>
		<link>http://raflabs.com/blogs/silence-is-foo/2010/07/21/my-friend-the-rails-console-part-ii/</link>
		<comments>http://raflabs.com/blogs/silence-is-foo/2010/07/21/my-friend-the-rails-console-part-ii/#comments</comments>
		<pubDate>Wed, 21 Jul 2010 17:45:47 +0000</pubDate>
		<dc:creator>raf</dc:creator>
				<category><![CDATA[ruby]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[console]]></category>
		<category><![CDATA[irb]]></category>
		<category><![CDATA[pasteboaRb]]></category>
		<category><![CDATA[pasteboard]]></category>
		<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">http://raflabs.com/blogs/silence-is-foo/?p=500</guid>
		<description><![CDATA[You can find the first part clicking here.
Despite all this Rails 3 thingy, we have to face it, we won't ditch Rails 2.3.x anytime soon, so I'm still in the mood to post things about Rails 2.3.x. This time I'll try to provide you guys with some Rails 3 version of the tricks or tips [...]]]></description>
		<wfw:commentRss>http://raflabs.com/blogs/silence-is-foo/2010/07/21/my-friend-the-rails-console-part-ii/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Dumping and restoring data with the YamlDB gem in Rails</title>
		<link>http://raflabs.com/blogs/silence-is-foo/2010/07/19/dumping-and-restoring-data-with-the-yamldb-gem-in-rails/</link>
		<comments>http://raflabs.com/blogs/silence-is-foo/2010/07/19/dumping-and-restoring-data-with-the-yamldb-gem-in-rails/#comments</comments>
		<pubDate>Mon, 19 Jul 2010 20:41:32 +0000</pubDate>
		<dc:creator>raf</dc:creator>
				<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[db]]></category>
		<category><![CDATA[migrations]]></category>
		<category><![CDATA[yaml]]></category>

		<guid isPermaLink="false">http://raflabs.com/blogs/silence-is-foo/?p=488</guid>
		<description><![CDATA[What is YamlDB (yaml_db)?
YamlDb is a Rails plugin and a gem for dumping and restoring data in YAML format. It complements the database-independent schema format found in db/schema.rb. The data is saved into db/data.yml.
Some Real-world usages

Backup data in YAML format (database-independent)
Restore YAML data to virtually any database
Switching from say SQLite to mySQL, or other databases
Replicate [...]]]></description>
		<wfw:commentRss>http://raflabs.com/blogs/silence-is-foo/2010/07/19/dumping-and-restoring-data-with-the-yamldb-gem-in-rails/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Adding a :noselect option to ActiveRecord (Rails 2.3.x)</title>
		<link>http://raflabs.com/blogs/silence-is-foo/2010/02/20/adding-a-noselect-option-to-activerecord-rails-2-3-x/</link>
		<comments>http://raflabs.com/blogs/silence-is-foo/2010/02/20/adding-a-noselect-option-to-activerecord-rails-2-3-x/#comments</comments>
		<pubDate>Sat, 20 Feb 2010 21:12:28 +0000</pubDate>
		<dc:creator>raf</dc:creator>
				<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[activerecord]]></category>
		<category><![CDATA[patch]]></category>
		<category><![CDATA[query]]></category>

		<guid isPermaLink="false">http://raflabs.com/blogs/silence-is-foo/?p=327</guid>
		<description><![CDATA[Let's say you have an users table with the following columns
firstname, lastname, email, crypted_password and salt
so you get all the records with:


User.find(:all)
User.all #it calls find internally

well, you should know that ActiveRecord creates one instance of the User model for every record it founds and that every column of such records is stored in a instance [...]]]></description>
		<wfw:commentRss>http://raflabs.com/blogs/silence-is-foo/2010/02/20/adding-a-noselect-option-to-activerecord-rails-2-3-x/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Checking existence of tables, columns and indexes in Rails Migrations</title>
		<link>http://raflabs.com/blogs/silence-is-foo/2010/02/11/checking-existence-of-tables-columns-and-indexes-in-rails-migrations/</link>
		<comments>http://raflabs.com/blogs/silence-is-foo/2010/02/11/checking-existence-of-tables-columns-and-indexes-in-rails-migrations/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 23:18:40 +0000</pubDate>
		<dc:creator>raf</dc:creator>
				<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[migrations]]></category>

		<guid isPermaLink="false">http://raflabs.com/blogs/silence-is-foo/?p=316</guid>
		<description><![CDATA[Tired of running migrations which doesn't work because a migration was trying to create an existent table I created 3 very very simple methods to check the existence of tables, columns and indexes in migrations or wherever.
You can see the code here: http://github.com/rafmagana/database_utils
reddit_url = http://raflabs.com/blogs/silence-is-foo/2010/02/11/checking-existence-of-tables-columns-and-indexes-in-rails-migrations/;reddit_title = Checking+existence+of+tables%2C+columns+and+indexes+in+Rails+Migrations;reddit_newwindow='1';]]></description>
		<wfw:commentRss>http://raflabs.com/blogs/silence-is-foo/2010/02/11/checking-existence-of-tables-columns-and-indexes-in-rails-migrations/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My friend the Rails Console</title>
		<link>http://raflabs.com/blogs/silence-is-foo/2010/01/30/my-friend-the-rails-console/</link>
		<comments>http://raflabs.com/blogs/silence-is-foo/2010/01/30/my-friend-the-rails-console/#comments</comments>
		<pubDate>Sun, 31 Jan 2010 02:36:40 +0000</pubDate>
		<dc:creator>raf</dc:creator>
				<category><![CDATA[rails]]></category>
		<category><![CDATA[console]]></category>

		<guid isPermaLink="false">http://raflabs.com/blogs/silence-is-foo/?p=258</guid>
		<description><![CDATA[NOTE: There's a second part of this post.

Ok, I know this post could be stupid for some smart people, but, c'mon I just discovered a very good "trick" and I'd like to share it, besides, I'd like to share some others I use as a daily basis.
first, fire the console: $ruby script/console:
Examining objects


&#62;&#62;  user = [...]]]></description>
		<wfw:commentRss>http://raflabs.com/blogs/silence-is-foo/2010/01/30/my-friend-the-rails-console/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
	</channel>
</rss>

