diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index bf7caf09ae..46df9e32c1 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -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* diff --git a/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb b/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb index adce0272f0..8e48d02e33 100644 --- a/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb @@ -345,11 +345,6 @@ module ActiveRecord true end - def supports_ranges? - true - end - deprecate :supports_ranges? - def supports_materialized_views? true end diff --git a/activerecord/test/cases/adapters/postgresql/connection_test.rb b/activerecord/test/cases/adapters/postgresql/connection_test.rb index 8c417b8036..f863233e06 100644 --- a/activerecord/test/cases/adapters/postgresql/connection_test.rb +++ b/activerecord/test/cases/adapters/postgresql/connection_test.rb @@ -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 diff --git a/guides/source/6_1_release_notes.md b/guides/source/6_1_release_notes.md index 6c23c67cbc..4db2717893 100644 --- a/guides/source/6_1_release_notes.md +++ b/guides/source/6_1_release_notes.md @@ -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