Switching to rails app