public
Fork of NZKoz/koz-rails
Description: Koz's rails git-svn clone
Homepage: http://www.rubyonrails.org
Clone URL: git://github.com/eventualbuddha/koz-rails.git
Search Repo:
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
david (author)
Fri Dec 07 05:34:06 -0800 2007
commit  fcbc46c81387aa3c216ce67ef5bce08b418f3cca
tree    8d71c0aa6832ec0993555a79d61b2c36dc1468ac
parent  6fbbf1e45da2144c46c396f01e25981ee616ac20
...
 
 
 
 
 
1
2
3
...
1
2
3
4
5
6
7
8
0
@@ -1,3 +1,8 @@
0
+*2.0.1* (December 7th, 2007)
0
+
0
+* Removed query cache rescue as it could cause code to be run twice (closes #10408) [DHH]
0
+
0
+
0
 *2.0.0* (December 6th, 2007)
0
 
0
 * 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]
...
7
8
9
10
11
12
13
14
...
7
8
9
 
 
10
11
12
0
@@ -7,8 +7,6 @@
0
       else
0
         connection.cache(&block)
0
       end
0
- rescue
0
- yield # if the database is not present, don't let the cache spoil the party
0
     end
0
 
0
     # Disable the query cache within the block if Active Record is configured.
...
1
 
2
3
4
...
 
1
2
3
4
0
@@ -1,4 +1,4 @@
0
-#!/usr/local/bin/ruby
0
+#!/usr/bin/env ruby
0
 
0
 VERSION = ARGV.first
0
 PACKAGES = %w(activesupport activerecord actionpack actionmailer activeresource)

Comments

    No one has commented yet.