public
Description: PLEASE CHECK http://github.com/lifo/docrails/wikis
Homepage: http://weblog.rubyonrails.org/2008/5/2/help-improve-rails-documentation-on-git-branch
Clone URL: git://github.com/lifo/docrails.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
dhh (author)
Fri Dec 07 05:34:06 -0800 2007
commit  7f02cdd4a0cf4596e0f6fe99849486c43b87024a
tree    8d71c0aa6832ec0993555a79d61b2c36dc1468ac
parent  db885e81b9dc918a75bd66b1631a13e10447d0ff
...
 
 
 
 
 
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.