# This file should contain all the record creation needed to seed the database with its default values.
# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
#
# Examples:
#
#   cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
#   Mayor.create(name: 'Emanuel', city: cities.first)

10.times do { User.create!( username: Faker::Internet.user_name, email: Faker::Internet.email, password:"password" )}

users = User.all

#Make Questions:
users.each do |user|
  user.create!()
end

#Make Best Answers

#Make Reg Answers

#Make Comments on Questions

#Make Comments on Answers

#Make Votes on Questions

#Make Votes on Answers


Create users in seed file
Create users in seed file
