Skip to content

Commit 2527682

Browse files
committed
Fix deprecation message s/Rails 7.0/Rails 7.1/
1 parent a466bbf commit 2527682

File tree

1 file changed

+2
-2
lines changed
  • activerecord/lib/active_record

1 file changed

+2
-2
lines changed

activerecord/lib/active_record/core.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -347,15 +347,15 @@ def maintain_test_schema # :nodoc:
347347

348348
def reading_role # :nodoc:
349349
ActiveSupport::Deprecation.warn(<<~MSG)
350-
ActiveRecord::Base.reading_role is deprecated and will be removed in Rails 7.0.
350+
ActiveRecord::Base.reading_role is deprecated and will be removed in Rails 7.1.
351351
Use `ActiveRecord.reading_role` instead.
352352
MSG
353353
ActiveRecord.reading_role
354354
end
355355

356356
def writing_role # :nodoc:
357357
ActiveSupport::Deprecation.warn(<<~MSG)
358-
ActiveRecord::Base.writing_role is deprecated and will be removed in Rails 7.0.
358+
ActiveRecord::Base.writing_role is deprecated and will be removed in Rails 7.1.
359359
Use `ActiveRecord.writing_role` instead.
360360
MSG
361361
ActiveRecord.writing_role

0 commit comments

Comments
 (0)