Closed matthewbadeau closed 5 months ago
Aha. This is a dev-only problem, and it's because I half-did some strict loading code a while back and never finished it. I've got a change on my local checkout that turns that off again. I should commit it. Bear with me.
Basically the line config.active_record.strict_loading_by_default = true
in development.rb just needs removing or commenting out. I was trying to force myself to fix the N+1 problems, so I left it in, but I just worked around myself instead 😆 .
Well that did it, thank you. I'll close the PR out and we can probably close this issue for now.
I'll do a PR in a moment to remove the code which will close this. Sorry about that. There's not normally anyone using the code except me 😁
Describe the bug Upon first launching the app, a 500 error is presented.
To Reproduce Steps to reproduce the behavior:
bin/dev
Expected behavior The application should create the initial user upon startup.
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
I encountered this problem launching in dev. I tested on the docker nightly but I did not see this issue.