converted static pages to rails