Skip to content

Introduce config.autoload_lib_once(ignore:) - #48610

Merged
fxn merged 1 commit into
mainfrom
autoload_once_lib
Jun 29, 2023
Merged

fxn merged 1 commit into
mainfrom
autoload_once_lib

Conversation

@fxn

@fxn fxn commented Jun 29, 2023

Copy link
Copy Markdown
Member

The method config.autoload_lib_once is similar to config.autoload_lib, except that it adds lib to config.autoload_once_paths instead.

By calling config.autoload_lib_once, classes and modules in lib can be autoloaded, even from application initializers, but won't be reloaded.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant