I'm trying to create 12 instances of the object list in a seed file, where:
12.times do |i|
list_X = List.create(title: "list #{i +1}" description: Faker::Hipster.paragraph, order_id: order_1.id, user_id: user_1.id)
Problem is that I can't find a way to update X so that it changes on each iteration. I'd like to update it with whatever value i is + 1