<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -4,6 +4,7 @@
 
 == ruote-rest - 0.9.21    not yet released
 
+- issue #4 : unlocked full range of db params for activerecord (Thanks Nando)
 - todo  #25167 : rake password:generate
 - todo  #25799 : post /expressions/:wfid/:expid linked to engine.reapply(exp)
 - todo  #25858 : reply page for things like &quot;process x got cancelled&quot;</diff>
      <filename>CHANGELOG.txt</filename>
    </modified>
    <modified>
      <diff>@@ -38,15 +38,11 @@ module RuoteRest
       &quot;No database configuration for #{application.environment} environment!&quot;)
     ) if configuration.nil?
 
-    ActiveRecord::Base.establish_connection(
-      :adapter =&gt; configuration['adapter'],
-      :database =&gt; configuration['database'],
-      :username =&gt; configuration['username'],
-      :password =&gt; configuration['password'],
-      :host =&gt; configuration['host'],
-      :encoding =&gt; configuration['encoding'],
-      :pool =&gt; 30
-    )
+    opts = %w[
+      adapter database username password host encoding driver url jndi
+    ].inject({ :pool =&gt; 30 }) { |h, k| h[k.to_sym] = configuration[k]; h }
+
+    ActiveRecord::Base.establish_connection(opts)
   end
 end
 </diff>
      <filename>lib/ar_con.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>4fee6c3ab7d01427f748b9915c4a0814dc78cbe8</id>
    </parent>
  </parents>
  <author>
    <name>John Mettraux</name>
    <email>jmettraux@gmail.com</email>
  </author>
  <url>http://github.com/jmettraux/ruote-rest/commit/0901bd9236835294036ea9da85e8d3028b46bf40</url>
  <id>0901bd9236835294036ea9da85e8d3028b46bf40</id>
  <committed-date>2009-06-29T01:17:17-07:00</committed-date>
  <authored-date>2009-06-29T01:17:17-07:00</authored-date>
  <message>unlocked full range of db params for activerecord (Thanks Nando). Closes gh-4</message>
  <tree>fa8a01ebdf42b1f73720c217c3a1a445654d34dc</tree>
  <committer>
    <name>John Mettraux</name>
    <email>jmettraux@gmail.com</email>
  </committer>
</commit>
