Remove deprecated #load_schema_for
This commit is contained in:
parent
e7381d289e
commit
419e06b56c
@ -1,3 +1,7 @@
|
||||
* Remove deprecated `#load_schema_for`.
|
||||
|
||||
*Rafael Mendonça França*
|
||||
|
||||
* Remove deprecated conditions parameter from `#destroy_all` and `#delete_all`.
|
||||
|
||||
*Rafael Mendonça França*
|
||||
|
@ -241,14 +241,6 @@ def load_schema(configuration, format = ActiveRecord::Base.schema_format, file =
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user