set to rails app