mirror of
https://github.com/discourse/discourse.git
synced 2025-02-05 19:11:13 +00:00
4c9ed7bd85
Post-zeitwerk, rails has deprecated autoloading modules during initialization and forces all autoloaded modules to be reloaded after initialization. Requiring the file explicitly prevents autoloading and therefore prevents the state on SiteSetting being trashed which was causing the problem here.