<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,3 +1,8 @@
+*2.0.1* (December 7th, 2007)
+
+* Removed query cache rescue as it could cause code to be run twice (closes #10408) [DHH]
+
+
 *2.0.0* (December 6th, 2007)
 
 * Anchor DateTimeTest to fixed DateTime instead of a variable value based on Time.now#advance#to_datetime, so that this test passes on 64-bit platforms running Ruby 1.8.6+ [Geoff Buesing]</diff>
      <filename>activerecord/CHANGELOG</filename>
    </modified>
    <modified>
      <diff>@@ -7,8 +7,6 @@ module ActiveRecord
       else
         connection.cache(&amp;block)
       end
-    rescue
-      yield # if the database is not present, don't let the cache spoil the party
     end
 
     # Disable the query cache within the block if Active Record is configured.</diff>
      <filename>activerecord/lib/active_record/query_cache.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,4 +1,4 @@
-#!/usr/local/bin/ruby
+#!/usr/bin/env ruby
 
 VERSION  = ARGV.first
 PACKAGES = %w(activesupport activerecord actionpack actionmailer activeresource)</diff>
      <filename>release.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>db885e81b9dc918a75bd66b1631a13e10447d0ff</id>
    </parent>
  </parents>
  <author>
    <name>David Heinemeier Hansson</name>
    <email>david@loudthinking.com</email>
  </author>
  <url>http://github.com/azimux/rails/commit/7f02cdd4a0cf4596e0f6fe99849486c43b87024a</url>
  <id>7f02cdd4a0cf4596e0f6fe99849486c43b87024a</id>
  <committed-date>2007-12-07T05:34:06-08:00</committed-date>
  <authored-date>2007-12-07T05:34:06-08:00</authored-date>
  <message>Removed query cache rescue as it could cause code to be run twice (closes #10408) [DHH]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8329 5ecf4fe2-1ee6-0310-87b1-e25e094e27de</message>
  <tree>8d71c0aa6832ec0993555a79d61b2c36dc1468ac</tree>
  <committer>
    <name>David Heinemeier Hansson</name>
    <email>david@loudthinking.com</email>
  </committer>
</commit>
