You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#2236 has added a method_missing to override the NoMethodError message since it was huge inside any endpoints. I found that it's been fixed in ruby 3.3 and the solution was to not use inspect on undefined method. I think that instead of using a method_missing strategy we could simply override endpoint's inspect method like this:
definspect"#{self.class} in `#{route.origin}' endpoint"end
and we would achieve the same thing.
Any thoughts ?
Happy New Year :)
The text was updated successfully, but these errors were encountered:
#2236 has added a
method_missing
to override the NoMethodError message since it was huge inside any endpoints. I found that it's been fixed in ruby 3.3 and the solution was to not useinspect
onundefined method
. I think that instead of using amethod_missing
strategy we could simply override endpoint'sinspect
method like this:and we would achieve the same thing.
Any thoughts ?
Happy New Year :)
The text was updated successfully, but these errors were encountered: