using virtual attribute 'category' instead of using 'category_id' in mass assignment for seeding data