I'll just post this link here for anyone else coming here after Rails 7 upgrade.
And also one more notable thing, after Ruby 3.3, if you call sleep with nil, it'll sleep forever instead of returning TypeError
3.3
sleep
nil
TypeError