<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>config/database.yml.example</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1 +1,2 @@
-wp-config.php
\ No newline at end of file
+wp-config.php
+database.yml
\ No newline at end of file</diff>
      <filename>.gitignore</filename>
    </modified>
    <modified>
      <diff>@@ -1,10 +1,10 @@
 require 'yaml'
 
 class DB
-  def self.init(environment)
-    @settings = YAML::load_file(File.dirname(__FILE__) + &quot;/config/database.yml&quot;)[environment]
+  def self.init
+    @settings = YAML::load_file(File.dirname(__FILE__) + &quot;/config/database.yml&quot;)
     puts @settings.inspect
-    @user, @pass, @host = @settings[:username], @settings[:password], @settings[:host]
+    @user, @pass, @host = @settings[&quot;username&quot;], @settings[&quot;password&quot;], @settings[&quot;host&quot;]
   end
   
   def self.create_database(db)
@@ -30,11 +30,7 @@ end
 
 
 task :init do
-  DB.init(:development)
-end
-
-task :production =&gt; :init do
-  DB.init(:production)
+  DB.init
 end
 
 task :install =&gt; :init do</diff>
      <filename>Rakefile</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>config/database.yml</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>68baa51d19cda233c50e24a6d792150cedd0d787</id>
    </parent>
  </parents>
  <author>
    <name>jeremylightsmith</name>
    <email>jeremy.lightsmith@gmail.com</email>
  </author>
  <url>http://github.com/jeremylightsmith/blog/commit/ec35c6abab392a81026e974481886211144055e6</url>
  <id>ec35c6abab392a81026e974481886211144055e6</id>
  <committed-date>2008-08-19T12:19:31-07:00</committed-date>
  <authored-date>2008-08-19T12:19:31-07:00</authored-date>
  <message>database has different user</message>
  <tree>001549d09ae9a3543f52188c79e415fd7533a7ff</tree>
  <committer>
    <name>jeremylightsmith</name>
    <email>jeremy.lightsmith@gmail.com</email>
  </committer>
</commit>
