I just accidentally overwrite a code file I was working on. But I was working on it in rubymine for a few hours. Does Rubymine have a feature where it automatically backs up the files I'm working on?
(I searched but couldn't find it)
Yes, it's called Local History. You can access it through the VCS menu.