Merge pull request #51187 from lexcao/fix/typo

Fix typo [ci-skip]
This commit is contained in:
Vipul A M 2024-02-25 10:21:44 -05:00 committed by GitHub
commit 4a95c64685
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -473,7 +473,7 @@ module ActiveRecord
unless self.class.attribute_methods_generated?
if self.class.method_defined?(name)
# The method is explicitly defined in the model, but calls a generated
# method with super. So we must resume the call chain at the right setp.
# method with super. So we must resume the call chain at the right step.
last_method = method(name)
last_method = last_method.super_method while last_method.super_method
self.class.define_attribute_methods