-
Jean Boussier authored
Fix: https://github.com/rails/rails/issues/52429 The previous implementation assumed `NoMethodError` would be raised when calling `super`, but that's not always true. If the receiver is an implicit self, the raised error will be `NameError`. It's better not to rely on exceptions for this anyways.
Jean Boussier authoredFix: https://github.com/rails/rails/issues/52429 The previous implementation assumed `NoMethodError` would be raised when calling `super`, but that's not always true. If the receiver is an implicit self, the raised error will be `NameError`. It's better not to rely on exceptions for this anyways.
Loading