Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 8325

Show
Ignore:
Timestamp:
12/06/07 22:05:48 (1 year ago)
Author:
david
Message:

Fixed that the Query Cache should just be ignored if the database is misconfigured (so that the "About your applications environment" works even before the database has been created) [DHH]

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/activerecord/CHANGELOG

    r8321 r8325  
    11*2.0.0* (December 6th, 2007) 
     2 
     3* Fixed that the Query Cache should just be ignored if the database is misconfigured (so that the "About your applications environment" works even before the database has been created) [DHH] 
    24 
    35* Fixed that the truncation of strings longer than 50 chars should use inspect so newlines etc are escaped #10385 [norbert] 
  • trunk/activerecord/lib/active_record/query_cache.rb

    r7498 r8325  
    88        connection.cache(&block) 
    99      end 
     10    rescue 
     11      yield # if the database is not present, don't let the cache spoil the party 
    1012    end 
    1113