arkency / find-open-source-mentor

A platform to connect junior developers with open source projects
35 stars 11 forks source link

Create one user with assigned role per each of the user roles in seeds. #41

Open fstybel opened 4 years ago

fstybel commented 4 years ago

I added loop on each of roles in User model. The loop will create one user per each of role. Email for created users have pattern: user_#{role_name}@example.com

Closes #40