Skip to content

Commit

Permalink
Move default course data into db/seeds/course_populator.rb so it can …
Browse files Browse the repository at this point in the history
…be shared by seeds & rake

Remove duplicate seeding of Rails course from seeds, just seed all the courses
and assign seeded events to the Rails course if it exists.
  • Loading branch information
tjgrathwell committed Jan 8, 2017
1 parent 17582c0 commit 51c5198
Show file tree
Hide file tree
Showing 5 changed files with 699 additions and 748 deletions.
1 change: 1 addition & 0 deletions db/seeds.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
Seeder.seed_region
Seeder.seed_chapter
Seeder.admin_user
Seeder.seed_courses
Seeder.seed_event
Seeder.seed_multiple_location_event
end
Loading

0 comments on commit 51c5198

Please sign in to comment.