Create a seed user for the develoment environment
All checks were successful
Run unit tests / unit_tests (pull_request) Successful in 1m22s
Check usage of free licenses / check-licenses (pull_request) Successful in 1m26s
Add copyright notice / copyright_notice (pull_request) Successful in 2m33s

This commit is contained in:
Manuel Bustillo 2024-11-30 19:19:22 +01:00
parent 271ad270a4
commit 5700532ac7

View File

@ -67,4 +67,11 @@ ActiveJob.perform_all_later(3.times.map { TableSimulatorJob.new })
'red'.paint.palette.triad(as: :hex).zip(Group.roots).each { |(color, group)| group.update!(color: color.paint.desaturate(40)) }
Group.roots.each(&:colorize_children)
Group.roots.each(&:colorize_children)
User.create!(
email: 'development@example.com',
confirmed_at: Time.zone.now,
password: 'supersecretpassword',
password_confirmation: 'supersecretpassword',
)