You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 8, 2024. It is now read-only.
Rails applications cannot load application code so early. If you change a content model and reload, nobody is invoking #add_entry_mapping on it again. In Rails 7 this is not even possible.
That should be done in a to_prepare block, so that it runs when things are ready on boot, and also on every reload.
(This logic is not related to Zeitwerk, though Rails and Zeitwerk are being polished to uncover latent issues like this one.)
The text was updated successfully, but these errors were encountered:
There is an engine initializer doing this:
Rails applications cannot load application code so early. If you change a content model and reload, nobody is invoking
#add_entry_mapping
on it again. In Rails 7 this is not even possible.That should be done in a
to_prepare
block, so that it runs when things are ready on boot, and also on every reload.(This logic is not related to Zeitwerk, though Rails and Zeitwerk are being polished to uncover latent issues like this one.)
The text was updated successfully, but these errors were encountered: