Skip to content

Conversation

kpazgan
Copy link

@kpazgan kpazgan commented Feb 9, 2022

No description provided.

@oskarpearson
Copy link

Seems like it's changed to config.to_prepare in Rails 7. https://guides.rubyonrails.org/autoloading_and_reloading_constants.html#autoload-on-boot-and-on-each-reload

Rails.application.config.to_prepare do
end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants