diff options
author | Xavier Noria <fxn@hashref.com> | 2012-09-24 14:48:55 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2012-09-24 14:48:55 +0200 |
commit | 4ad90b02461a313aa2aed5cac7e7968864652222 (patch) | |
tree | f100fdcd5dc28590416602f92714df633e6509a9 /activerecord | |
parent | 780ecb2bc1cd756d8814c0f7fd27f263e6282447 (diff) | |
download | rails-4ad90b02461a313aa2aed5cac7e7968864652222.tar.gz rails-4ad90b02461a313aa2aed5cac7e7968864652222.tar.bz2 rails-4ad90b02461a313aa2aed5cac7e7968864652222.zip |
make clear that expired db/schema_cache.dump are ignored
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/railtie.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/railtie.rb b/activerecord/lib/active_record/railtie.rb index a9f80ccd5f..41b3386c00 100644 --- a/activerecord/lib/active_record/railtie.rb +++ b/activerecord/lib/active_record/railtie.rb @@ -82,7 +82,7 @@ module ActiveRecord if cache.version == ActiveRecord::Migrator.current_version ActiveRecord::Model.connection.schema_cache = cache else - warn "schema_cache.dump is expired. Current version is #{ActiveRecord::Migrator.current_version}, but cache version is #{cache.version}." + warn "Ignoring db/schema_cache.dump because it has expired. The current schema version is #{ActiveRecord::Migrator.current_version}, but the one in the cache is #{cache.version}." end end end |