It's really great Rubymine allows us to Cmd+Left-Click to trace where a method is defined and jump to the source file/location.
I doubt if there's a hot-key to go back, which is helpful when there're a lot of files/tabs are opened or viewing a long file
There is an action to go back, Navigate
| Back
:
Hotkey would depend on your keymap and can be observed in the menu.