dsc-umass / project-matching

Matching people within clubs to projects
MIT License
7 stars 2 forks source link

Faker #69

Closed Saakshaat closed 4 years ago

Saakshaat commented 4 years ago

Added the Faker gem for generating seed data for organizations, projects and positions.

Since there are no specific categories for clubs or tech projects, I've used Faker::University.name for organizations and Faker::Game.title for projects. Fortunately, there was a decent category for positions: Faker::Job.title.

Organizations:

<Organization id: 1, name: "Eastern Illinois University", email: "dirk@tillman.info", created_at: "2020-07-31 04:01:17", updated_at: "2020-07-31 04:01:17", type_list: nil>, 
<Organization id: 2, name: "North Gleichner Academy", email: "jinny@hoppe-heller.info", created_at: "2020-07-31 04:01:17", updated_at: "2020-07-31 04:01:17", type_list: nil>, 
<Organization id: 3, name: "East Tromp", email: "emerson@ankunding.net", created_at: "2020-07-31 04:01:17", updated_at: "2020-07-31 04:01:17", type_list: nil>, 
<Organization id: 4, name: "Orn College", email: "adalberto.wunsch@lang.co", created_at: "2020-07-31 04:01:17", updated_at: "2020-07-31 04:01:17", type_list: nil>, 
<Organization id: 5, name: "Hane Institute", email: "ramiro@oreilly.org", created_at: "2020-07-31 04:01:18", updated_at: "2020-07-31 04:01:18", type_list: nil>, 
<Organization id: 6, name: "West Smitham Institute", email: "moses@senger.io", created_at: "2020-07-31 04:01:18", updated_at: "2020-07-31 04:01:18", type_list: nil>, 
<Organization id: 7, name: "Goyette Institute", email: "gavin@abernathy.org", created_at: "2020-07-31 04:01:18", updated_at: "2020-07-31 04:01:18", type_list: nil>, 
<Organization id: 8, name: "Eastern Hawaii Academy", email: "caridad@erdman.org", created_at: "2020-07-31 04:01:18", updated_at: "2020-07-31 04:01:18", type_list: nil>, 
<Organization id: 9, name: "Dicki Academy", email: "rueben@veum.name", created_at: "2020-07-31 04:01:18", updated_at: "2020-07-31 04:01:18", type_list: nil>, 
<Organization id: 10, name: "North Jones", email: "collin.hane@collins.co", created_at: "2020-07-31 04:01:18", updated_at: "2020-07-31 04:01:18", type_list: nil>

Projects:

<Project id: 1, title: "Doom Visual novel", organization_id: 10, created_at: "2020-07-31 04:01:19", updated_at: "2020-07-31 04:01:19", skill_list: nil>, 
<Project id: 2, title: "Pokémon Gold", organization_id: 10, created_at: "2020-07-31 04:06:54", updated_at: "2020-07-31 04:06:54", skill_list: nil>, 
<Project id: 3, title: "Bastion", organization_id: 13, created_at: "2020-07-31 04:06:54", updated_at: "2020-07-31 04:06:54", skill_list: nil>, 
<Project id: 4, title: "Wii Sports", organization_id: 15, created_at: "2020-07-31 04:06:54", updated_at: "2020-07-31 04:06:54", skill_list: nil>, 
<Project id: 5, title: "Diablo", organization_id: 10, created_at: "2020-07-31 04:06:54", updated_at: "2020-07-31 04:06:54", skill_list: nil>, 
<Project id: 6, title: "Pokémon Y", organization_id: 15, created_at: "2020-07-31 04:06:54", updated_at: "2020-07-31 04:06:54", skill_list: nil>,
<Project id: 7, title: "Halo Wars", organization_id: 10, created_at: "2020-07-31 04:06:54", updated_at: "2020-07-31 04:06:54", skill_list: nil>, 
<Project id: 8, title: "Ricochet", organization_id: 10, created_at: "2020-07-31 04:06:55", updated_at: "2020-07-31 04:06:55", skill_list: nil>, 
<Project id: 9, title: "Doom", organization_id: 2, created_at: "2020-07-31 04:06:55", updated_at: "2020-07-31 04:06:55", skill_list: nil>, 
<Project id: 10, title: "Battletoads", organization_id: 15, created_at: "2020-07-31 04:06:55", updated_at: "2020-07-31 04:06:55", skill_list: nil>

Positions:

<Position id: 1, title: "Strategist", project_id: 1, user_id: "4", integer: "0", created_at: "2020-07-31 04:01:19", updated_at: "2020-07-31 04:01:19", skill_list: nil>, 
<Position id: 2, title: "Designer", project_id: 1, user_id: "11", integer: "1", created_at: "2020-07-31 04:06:55", updated_at: "2020-07-31 04:06:55", skill_list: nil>, 
<Position id: 3, title: "Executive", project_id: 2, user_id: "11", integer: "0", created_at: "2020-07-31 04:06:55", updated_at: "2020-07-31 04:06:55", skill_list: nil>, 
<Position id: 4, title: "Executive", project_id: 3, user_id: "6", integer: "9", created_at: "2020-07-31 04:06:55", updated_at: "2020-07-31 04:06:55", skill_list: nil>, 
<Position id: 5, title: "Assistant", project_id: 4, user_id: "24", integer: "2", created_at: "2020-07-31 04:06:56", updated_at: "2020-07-31 04:06:56", skill_list: nil>, 
<Position id: 6, title: "Orchestrator", project_id: 5, user_id: "21", integer: "6", created_at: "2020-07-31 04:06:56", updated_at: "2020-07-31 04:06:56", skill_list: nil>, 
<Position id: 7, title: "Administrator", project_id: 6, user_id: "27", integer: "6", created_at: "2020-07-31 04:06:56", updated_at: "2020-07-31 04:06:56", skill_list: nil>, 
<Position id: 8, title: "Manager", project_id: 7, user_id: "24", integer: "5", created_at: "2020-07-31 04:06:56", updated_at: "2020-07-31 04:06:56", skill_list: nil>, 
<Position id: 9, title: "Liaison", project_id: 8, user_id: "28", integer: "6", created_at: "2020-07-31 04:06:56", updated_at: "2020-07-31 04:06:56", skill_list: nil>, 
<Position id: 10, title: "Executive", project_id: 9, user_id: "27", integer: "5", created_at: "2020-07-31 04:06:56", updated_at: "2020-07-31 04:06:56", skill_list: nil>