change path to rails