<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -45,4 +45,5 @@ Since I first released this library, there's been quite a few people who have su
 - Jae-Jun Hwang
 - Xavier Shay
 - Jason Rust
-- Gopal Patel
\ No newline at end of file
+- Gopal Patel
+- Peter Vandenberk
\ No newline at end of file</diff>
      <filename>README</filename>
    </modified>
    <modified>
      <diff>@@ -45,4 +45,5 @@ Since I first released this library, there's been quite a few people who have su
 * Jae-Jun Hwang
 * Xavier Shay
 * Jason Rust
-* Gopal Patel
\ No newline at end of file
+* Gopal Patel
+* Peter Vandenberk
\ No newline at end of file</diff>
      <filename>README.textile</filename>
    </modified>
    <modified>
      <diff>@@ -89,7 +89,7 @@ module ThinkingSphinx
     def build(file_path=nil)
       load_models
       file_path ||= &quot;#{self.config_file}&quot;
-      database_confs = YAML.load(File.open(&quot;#{app_root}/config/database.yml&quot;))
+      database_confs = YAML::load(ERB.new(IO.read(&quot;#{app_root}/config/database.yml&quot;)).result)
       database_confs.symbolize_keys!
       database_conf  = database_confs[environment.to_sym]
       database_conf.symbolize_keys!</diff>
      <filename>lib/thinking_sphinx/configuration.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>6ed85658a07a0632e9a4f282a6a1f4036cc7ed99</id>
    </parent>
  </parents>
  <author>
    <name>Pat Allan</name>
    <email>pat@freelancing-gods.com</email>
  </author>
  <url>http://github.com/xaviershay/thinking-sphinx/commit/d1d6e89fe2231d43c0f892cf7c65fb012e8558d4</url>
  <id>d1d6e89fe2231d43c0f892cf7c65fb012e8558d4</id>
  <committed-date>2008-06-10T11:07:42-07:00</committed-date>
  <authored-date>2008-06-10T11:07:42-07:00</authored-date>
  <message>Adding ERB translation (just like Rails) for database.yml - thanks to Peter Vandenberk</message>
  <tree>ff9fb5e9510a655fff618e37e50b612d2b57c82f</tree>
  <committer>
    <name>Pat Allan</name>
    <email>pat@freelancing-gods.com</email>
  </committer>
</commit>
