Tidy up resource index page and fix sample_data.rake again