Permalink
Fetching contributors…
Cannot retrieve contributors at this time
6 lines (5 sloc) 191 Bytes
require Rails.root.join('db', 'seeds', 'course_populator')
desc "Populate courses (only run once)"
task populate_courses: :environment do |t, args|
CoursePopulator.new.populate_courses
end