converting more pages to rails