diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2013-11-01 02:13:15 -0700 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2013-11-01 02:13:15 -0700 |
commit | 2e7ee652d2c1466787b45de59464ca096019e784 (patch) | |
tree | b0db65713968230ece18f6959f173bc9fcff70d8 /activerecord/lib/active_record/railties/databases.rake | |
parent | 1adcebdb582f1cd091c5472d864e7c97b99333d0 (diff) | |
parent | 816126862e040b787cf11c8143f326798803f67c (diff) | |
download | rails-2e7ee652d2c1466787b45de59464ca096019e784.tar.gz rails-2e7ee652d2c1466787b45de59464ca096019e784.tar.bz2 rails-2e7ee652d2c1466787b45de59464ca096019e784.zip |
Merge pull request #12727 from arunagw/aa-warnings-removed-ruby-trunk
Warnings removed for ruby trunk
Diffstat (limited to 'activerecord/lib/active_record/railties/databases.rake')
-rw-r--r-- | activerecord/lib/active_record/railties/databases.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/railties/databases.rake b/activerecord/lib/active_record/railties/databases.rake index ecadb95a5d..52b3d3e5e6 100644 --- a/activerecord/lib/active_record/railties/databases.rake +++ b/activerecord/lib/active_record/railties/databases.rake @@ -271,7 +271,7 @@ db_namespace = namespace :db do desc 'Clear a db/schema_cache.dump file.' task :clear => [:environment, :load_config] do filename = File.join(ActiveRecord::Tasks::DatabaseTasks.db_dir, "schema_cache.dump") - FileUtils.rm(filename) if File.exists?(filename) + FileUtils.rm(filename) if File.exist?(filename) end end |