It's certainly related -- not sure what kinds if specialisation the new ruby JIT does.
I haven't looked into the new ruby JIT too deeply, but as far as I remember it had several limitations that made it slow Rails apps down instead. This would make it easier to select and optimise for specific methods instead.