mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Remove deprecated ActiveRecord::ConnectionAdapters::AbstractAdapter#supports_multi_insert?
This commit is contained in:
parent
ea32fe3de4
commit
cbf43df288
4 changed files with 6 additions and 10 deletions
|
@ -1,3 +1,7 @@
|
|||
* Remove deprecated `ActiveRecord::ConnectionAdapters::AbstractAdapter#supports_multi_insert?`.
|
||||
|
||||
*Rafael Mendonça França*
|
||||
|
||||
* Remove deprecated `ActiveRecord::ConnectionAdapters::AbstractAdapter#supports_foreign_keys_in_create?`.
|
||||
|
||||
*Rafael Mendonça França*
|
||||
|
|
|
@ -370,12 +370,6 @@ module ActiveRecord
|
|||
false
|
||||
end
|
||||
|
||||
# Does this adapter support multi-value insert?
|
||||
def supports_multi_insert?
|
||||
true
|
||||
end
|
||||
deprecate :supports_multi_insert?
|
||||
|
||||
# Does this adapter support virtual columns?
|
||||
def supports_virtual_columns?
|
||||
false
|
||||
|
|
|
@ -332,10 +332,6 @@ module ActiveRecord
|
|||
assert_equal "special_db_type", @connection.type_to_sql(:special_db_type)
|
||||
end
|
||||
|
||||
def test_supports_multi_insert_is_deprecated
|
||||
assert_deprecated { @connection.supports_multi_insert? }
|
||||
end
|
||||
|
||||
def test_column_name_length_is_deprecated
|
||||
assert_deprecated { @connection.column_name_length }
|
||||
end
|
||||
|
|
|
@ -149,6 +149,8 @@ Please refer to the [Changelog][active-record] for detailed changes.
|
|||
|
||||
### Removals
|
||||
|
||||
* Remove deprecated `ActiveRecord::ConnectionAdapters::AbstractAdapter#supports_multi_insert?`.
|
||||
|
||||
* Remove deprecated `ActiveRecord::ConnectionAdapters::AbstractAdapter#supports_foreign_keys_in_create?`.
|
||||
|
||||
* Remove deprecated `ActiveRecord::ConnectionAdapters::PostgreSQLAdapter#supports_ranges?`.
|
||||
|
|
Loading…
Reference in a new issue