#this is seeds file for loading test schools
#into db

Idea.destroy_all

ActiveRecord::Base.transaction do
  1.upto(200) { |i|
    Idea.create!(
      name: Forgery::Name.company_name + i.to_s,
      high_concept_pitch:  Forgery::LoremIpsum.words(5),
      elevator_pitch: Forgery::LoremIpsum.words(15),
      description: Forgery::LoremIpsum.paragraphs(3),
      fund: {balance: 0},
      school_id: [*1..20].sample,
      user_id: [*1..4].sample,
      looking_for_team: true,
      rules_accepted: true,
      market_list: Forgery::Name.industry
    )
 }

end
