Fix rails-minor-mode