Remove deprecated ActiveRecord::ConnectionAdapters::PostgreSQLAdapter#supports_ranges?
This commit is contained in:
parent
b232d019a2
commit
ae7b937cfa
@ -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*
|
||||
|
@ -345,11 +345,6 @@ def supports_extensions?
|
||||
true
|
||||
end
|
||||
|
||||
def supports_ranges?
|
||||
true
|
||||
end
|
||||
deprecate :supports_ranges?
|
||||
|
||||
def supports_materialized_views?
|
||||
true
|
||||
end
|
||||
|
@ -234,10 +234,6 @@ def test_release_non_existent_advisory_lock
|
||||
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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user