Moved from static to dynamic pages, using layout and embedded ruby