Switch to rails app