<?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>Caleb Adam Haye &#187; Ruby on Rails</title>
	<atom:link href="http://caleb.org/blog/category/ror/feed/" rel="self" type="application/rss+xml" />
	<link>http://caleb.org/blog</link>
	<description></description>
	<lastBuildDate>Fri, 25 Sep 2009 10:40:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Reusing properties in database.yml</title>
		<link>http://caleb.org/blog/uncategorized/reusing-properties-in-databaseyml/</link>
		<comments>http://caleb.org/blog/uncategorized/reusing-properties-in-databaseyml/#comments</comments>
		<pubDate>Fri, 03 Jul 2009 22:14:16 +0000</pubDate>
		<dc:creator>Caleb</dc:creator>
				<category><![CDATA[Caleb]]></category>
		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://caleb.org/blog/uncategorized/reusing-properties-in-databaseyml/</guid>
		<description><![CDATA[Recently, I ran into a useful way to store your base database properties, and override them per development environment.  This approach is really useful, so I thought I would blog about it.
Here is an example config/database.yml file which implements the aforementioned approach:

login: &#038;login
  adapter: mysql
  username: _your_username_
  password: _your_password_
  host: [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, I ran into a useful way to store your base database properties, and override them per development environment.  This approach is really useful, so I thought I would blog about it.</p>
<p>Here is an example config/database.yml file which implements the aforementioned approach:</p>
<pre>
login: &#038;login
  adapter: mysql
  username: _your_username_
  password: _your_password_
  host: mysql.yourdomain.com
  socket: /var/run/mysqld/mysqld.sock

development:
  < <: *login
  database: myclient_dev

test:
  <<: *login
  database: myclient_test

production:
  <<: *login
  host: mysql.myclient.com
  database: myclient
</pre>
]]></content:encoded>
			<wfw:commentRss>http://caleb.org/blog/uncategorized/reusing-properties-in-databaseyml/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
