flex pages for rails