If I want to insert a record into my model I usually do something like this within the Rails console:
m = ModelName.create(name: 'This is my name')
m.save
But if I have an array
['Name 1', 'Name 2', 'Name 3' ]
How can I create a record for each of the items in the array using the Rails console?