diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2016-12-29 16:05:43 -0500 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2016-12-29 17:53:04 -0500 |
commit | 419e06b56c3b0229f0c72d3e4cdf59d34d8e5545 (patch) | |
tree | 7f8161cebb08c7de3a02f22f824760e171be8f08 /activerecord/lib/active_record/tasks | |
parent | e7381d289e4f8751dcec9553dcb4d32153bd922b (diff) | |
download | rails-419e06b56c3b0229f0c72d3e4cdf59d34d8e5545.tar.gz rails-419e06b56c3b0229f0c72d3e4cdf59d34d8e5545.tar.bz2 rails-419e06b56c3b0229f0c72d3e4cdf59d34d8e5545.zip |
Remove deprecated #load_schema_for
Diffstat (limited to 'activerecord/lib/active_record/tasks')
-rw-r--r-- | activerecord/lib/active_record/tasks/database_tasks.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/activerecord/lib/active_record/tasks/database_tasks.rb b/activerecord/lib/active_record/tasks/database_tasks.rb index fd215eeb86..6f868b6b7e 100644 --- a/activerecord/lib/active_record/tasks/database_tasks.rb +++ b/activerecord/lib/active_record/tasks/database_tasks.rb @@ -241,14 +241,6 @@ module ActiveRecord ActiveRecord::InternalMetadata[:environment] = ActiveRecord::Migrator.current_environment end - def load_schema_for(*args) - ActiveSupport::Deprecation.warn(<<-MSG.squish) - This method was renamed to `#load_schema` and will be removed in the future. - Use `#load_schema` instead. - MSG - load_schema(*args) - end - def schema_file(format = ActiveRecord::Base.schema_format) case format when :ruby |