Skip to content

Commit 07d51f9

Browse files
committed
Rails 7.3 doesn't exist
1 parent 7de5e44 commit 07d51f9

File tree

13 files changed

+19
-19
lines changed

13 files changed

+19
-19
lines changed

actionpack/lib/action_controller/metal/strong_parameters.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,14 +253,14 @@ class << self
253253
def allow_deprecated_parameters_hash_equality
254254
ActionController.deprecator.warn <<-WARNING.squish
255255
`Rails.application.config.action_controller.allow_deprecated_parameters_hash_equality` is
256-
deprecated and will be removed in Rails 7.3.
256+
deprecated and will be removed in Rails 8.0.
257257
WARNING
258258
end
259259

260260
def allow_deprecated_parameters_hash_equality=(value)
261261
ActionController.deprecator.warn <<-WARNING.squish
262262
`Rails.application.config.action_controller.allow_deprecated_parameters_hash_equality`
263-
is deprecated and will be removed in Rails 7.3.
263+
is deprecated and will be removed in Rails 8.0.
264264
WARNING
265265
end
266266

actionview/lib/action_view/helpers/form_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -753,7 +753,7 @@ def apply_form_for_options!(object, options) # :nodoc:
753753
# form_with(**options.merge(builder: LabellingFormBuilder), &block)
754754
# end
755755
def form_with(model: false, scope: nil, url: nil, format: nil, **options, &block)
756-
ActionView.deprecator.warn("Passing nil to the :model argument is deprecated and will raise in Rails 7.3") if model.nil?
756+
ActionView.deprecator.warn("Passing nil to the :model argument is deprecated and will raise in Rails 8.0") if model.nil?
757757

758758
options = { allow_method_names_outside_object: true, skip_default_ids: !form_with_generates_ids }.merge!(options)
759759

actionview/lib/action_view/helpers/tag_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def #{method_name}(content = nil, escape: true, **options, &block)
6666
ActionView.deprecator.warn <<~TEXT
6767
Putting content inside a void element (#{name}) is invalid
6868
according to the HTML5 spec, and so it is being deprecated
69-
without replacement. In Rails 7.3, passing content as a
69+
without replacement. In Rails 8.0, passing content as a
7070
positional argument will raise, and using a block will have
7171
no effect.
7272
TEXT

activejob/lib/active_job.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,13 @@ module ActiveJob
5151

5252
def self.use_big_decimal_serializer
5353
ActiveJob.deprecator.warn <<-WARNING.squish
54-
Rails.application.config.active_job.use_big_decimal_serializer is deprecated and will be removed in Rails 7.3.
54+
Rails.application.config.active_job.use_big_decimal_serializer is deprecated and will be removed in Rails 8.0.
5555
WARNING
5656
end
5757

5858
def self.use_big_decimal_serializer=(value)
5959
ActiveJob.deprecator.warn <<-WARNING.squish
60-
Rails.application.config.active_job.use_big_decimal_serializer is deprecated and will be removed in Rails 7.3.
60+
Rails.application.config.active_job.use_big_decimal_serializer is deprecated and will be removed in Rails 8.0.
6161
WARNING
6262
end
6363

activerecord/lib/active_record.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -358,14 +358,14 @@ def self.permanent_connection_checkout=(value)
358358
def self.commit_transaction_on_non_local_return
359359
ActiveRecord.deprecator.warn <<-WARNING.squish
360360
`Rails.application.config.active_record.commit_transaction_on_non_local_return`
361-
is deprecated and will be removed in Rails 7.3.
361+
is deprecated and will be removed in Rails 8.0.
362362
WARNING
363363
end
364364

365365
def self.commit_transaction_on_non_local_return=(value)
366366
ActiveRecord.deprecator.warn <<-WARNING.squish
367367
`Rails.application.config.active_record.commit_transaction_on_non_local_return`
368-
is deprecated and will be removed in Rails 7.3.
368+
is deprecated and will be removed in Rails 8.0.
369369
WARNING
370370
end
371371

@@ -458,14 +458,14 @@ def self.commit_transaction_on_non_local_return=(value)
458458
def self.allow_deprecated_singular_associations_name
459459
ActiveRecord.deprecator.warn <<-WARNING.squish
460460
`Rails.application.config.active_record.allow_deprecated_singular_associations_name`
461-
is deprecated and will be removed in Rails 7.3.
461+
is deprecated and will be removed in Rails 8.0.
462462
WARNING
463463
end
464464

465465
def self.allow_deprecated_singular_associations_name=(value)
466466
ActiveRecord.deprecator.warn <<-WARNING.squish
467467
`Rails.application.config.active_record.allow_deprecated_singular_associations_name`
468-
is deprecated and will be removed in Rails 7.3.
468+
is deprecated and will be removed in Rails 8.0.
469469
WARNING
470470
end
471471

activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ def permanent_lease? # :nodoc:
313313
def connection
314314
ActiveRecord.deprecator.warn(<<~MSG)
315315
ActiveRecord::ConnectionAdapters::ConnectionPool#connection is deprecated
316-
and will be removed in Rails 7.3. Use #lease_connection instead.
316+
and will be removed in Rails 8.0. Use #lease_connection instead.
317317
MSG
318318
lease_connection
319319
end

activerecord/lib/active_record/enum.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ def enum(name = nil, values = nil, **options)
226226

227227
ActiveRecord.deprecator.warn(<<~MSG)
228228
Defining enums with keyword arguments is deprecated and will be removed
229-
in Rails 7.3. Positional arguments should be used instead:
229+
in Rails 8.0. Positional arguments should be used instead:
230230
231231
#{definitions.map { |name, values| "enum :#{name}, #{values}" }.join("\n")}
232232
MSG

activerecord/lib/active_record/railtie.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ class Railtie < Rails::Railtie # :nodoc:
187187
if config.active_record.warn_on_records_fetched_greater_than
188188
ActiveRecord.deprecator.warn <<~MSG.squish
189189
`config.active_record.warn_on_records_fetched_greater_than` is deprecated and will be
190-
removed in Rails 7.3.
190+
removed in Rails 8.0.
191191
Please subscribe to `sql.active_record` notifications and access the row count field to
192192
detect large result set sizes.
193193
MSG

activerecord/lib/active_record/tasks/database_tasks.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ def cache_dump_filename(db_config_or_name, schema_cache_path: nil)
446446
db_config_or_name.default_schema_cache_path(ActiveRecord::Tasks::DatabaseTasks.db_dir)
447447
else
448448
ActiveRecord.deprecator.warn(<<~MSG.squish)
449-
Passing a database name to `cache_dump_filename` is deprecated and will be removed in Rails 7.3. Pass a
449+
Passing a database name to `cache_dump_filename` is deprecated and will be removed in Rails 8.0. Pass a
450450
`ActiveRecord::DatabaseConfigurations::DatabaseConfig` object instead.
451451
MSG
452452

@@ -531,7 +531,7 @@ def migration_connection_pool # :nodoc:
531531
def schema_cache_env
532532
if ENV["SCHEMA_CACHE"]
533533
ActiveRecord.deprecator.warn(<<~MSG.squish)
534-
Setting `ENV["SCHEMA_CACHE"]` is deprecated and will be removed in Rails 7.3.
534+
Setting `ENV["SCHEMA_CACHE"]` is deprecated and will be removed in Rails 8.0.
535535
Configure the `:schema_cache_path` in the database configuration instead.
536536
MSG
537537

activesupport/lib/active_support/core_ext/module/attr_internal.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class << self
2525
def attr_internal_naming_format=(format)
2626
if format.start_with?("@")
2727
ActiveSupport.deprecator.warn <<~MESSAGE
28-
Setting `attr_internal_naming_format` with a `@` prefix is deprecated and will be removed in Rails 7.3.
28+
Setting `attr_internal_naming_format` with a `@` prefix is deprecated and will be removed in Rails 8.0.
2929
3030
You can simply replace #{format.inspect} by #{format.delete_prefix("@").inspect}.
3131
MESSAGE

0 commit comments

Comments
 (0)