diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-09-09 06:40:55 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-09-09 06:40:55 -0300 |
commit | 348c29100c63e09f8af7dc7b08e137f2ebd243a4 (patch) | |
tree | c97afe2681b79f5c74cf7a5b6fa0713fff59b68f /activerecord/lib/active_record | |
parent | d9e55535164feb1a0f73a9f64c1055cc67b98121 (diff) | |
download | rails-348c29100c63e09f8af7dc7b08e137f2ebd243a4.tar.gz rails-348c29100c63e09f8af7dc7b08e137f2ebd243a4.tar.bz2 rails-348c29100c63e09f8af7dc7b08e137f2ebd243a4.zip |
Remove dead code
Usage was removed in 5c4495538b
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r-- | activerecord/lib/active_record/tasks/database_tasks.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/activerecord/lib/active_record/tasks/database_tasks.rb b/activerecord/lib/active_record/tasks/database_tasks.rb index 0b5dc6ed33..f1141a8613 100644 --- a/activerecord/lib/active_record/tasks/database_tasks.rb +++ b/activerecord/lib/active_record/tasks/database_tasks.rb @@ -221,12 +221,6 @@ module ActiveRecord end end - def load_schema_current_if_exists(format = ActiveRecord::Base.schema_format, file = nil, environment = env) - if File.exist?(file || schema_file(format)) - load_schema_current(format, file, environment) - end - end - def load_schema_current(format = ActiveRecord::Base.schema_format, file = nil, environment = env) each_current_configuration(environment) { |configuration| load_schema configuration, format, file |