Skip to content

Conversation

@mattlindsey
Copy link
Contributor

Add seed data for new Courses table/model.

fixes #3855

@mattlindsey mattlindsey requested a review from faithngetich March 6, 2023 15:57
db/seeds.rb Outdated

puts 'Created default projects'

opensource = u.courses.create!(

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see we have an object called opensource but I can't seem to find where this is referenced

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

db/seeds.rb Outdated
status: 'Active'
)

gitcourse = u.courses.create!(

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as above. If we are not using those variables: gitcourse and opensource, we should consider removing them.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

@faithngetich faithngetich merged commit c94cbb4 into 3845_e_learning_start Mar 9, 2023
@faithngetich faithngetich deleted the 3855_courses_seed branch March 9, 2023 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants