removed code duplication in tasks/sample_data.rake