Switch to rails app to avoid crashes