Remove deprecated `ActiveRecord::ConnectionAdapters::PostgreSQLAdapter#supports_ranges?`

This commit is contained in:
Rafael Mendonça França 2020-05-07 15:16:15 -04:00
parent b232d019a2
commit ae7b937cfa
No known key found for this signature in database
GPG Key ID: FC23B6D0F1EEE948
4 changed files with 6 additions and 9 deletions

View File

@ -1,3 +1,7 @@
* Remove deprecated `ActiveRecord::ConnectionAdapters::PostgreSQLAdapter#supports_ranges?`.
*Rafael Mendonça França*
* Remove deprecated `ActiveRecord::Base#update_attributes` and `ActiveRecord::Base#update_attributes!`.
*Rafael Mendonça França*

View File

@ -345,11 +345,6 @@ module ActiveRecord
true
end
def supports_ranges?
true
end
deprecate :supports_ranges?
def supports_materialized_views?
true
end

View File

@ -234,10 +234,6 @@ module ActiveRecord
end
end
def test_supports_ranges_is_deprecated
assert_deprecated { @connection.supports_ranges? }
end
private
def with_warning_suppression
log_level = @connection.client_min_messages

View File

@ -149,6 +149,8 @@ Please refer to the [Changelog][active-record] for detailed changes.
### Removals
* Remove deprecated `ActiveRecord::ConnectionAdapters::PostgreSQLAdapter#supports_ranges?`.
* Remove deprecated `ActiveRecord::Base#update_attributes` and `ActiveRecord::Base#update_attributes!`.
* Remove deprecated `migrations_path` argument in