I would like to seed my seeds.rb file with a set of random strings.
I currently have a "name" category a "about_me" category such as:
Name: John, Jim, Joe, Jamie, Kim, Monica, Erica, Nicole
About_me: "I am blonde", "I am a brunette", "I have red hair", "I work at the museum"
I would like to seed 200 users with random sets of names & about_me's. How would i get around doing this? Can someone point me in the right direction?
I currently have:
200.times do |i|
User.create(rand(name: i, about_me: i))
That is not even close to working for me, so I was wondering how i can tackle this problem. Thank you in advance!