diff options
author | Xavier Noria <fxn@hashref.com> | 2019-03-30 08:38:41 +0100 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2019-03-30 09:33:48 +0100 |
commit | 278f0dfeac03e9e9d57eae8f4618ff94d8584abe (patch) | |
tree | 5a81fac64ab373ff86f3b6f3499a1c175ad705e9 /activesupport/CHANGELOG.md | |
parent | 360ff0a5934e32f49a2328b32b413ff58d6d79f1 (diff) | |
download | rails-278f0dfeac03e9e9d57eae8f4618ff94d8584abe.tar.gz rails-278f0dfeac03e9e9d57eae8f4618ff94d8584abe.tar.bz2 rails-278f0dfeac03e9e9d57eae8f4618ff94d8584abe.zip |
fixes eager loading edge case in :zeitwerk mode
Diffstat (limited to 'activesupport/CHANGELOG.md')
-rw-r--r-- | activesupport/CHANGELOG.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/activesupport/CHANGELOG.md b/activesupport/CHANGELOG.md index f30249cb3f..de933ec122 100644 --- a/activesupport/CHANGELOG.md +++ b/activesupport/CHANGELOG.md @@ -1,3 +1,12 @@ +* In `:zeitwerk` mode, eager load directories in engines and applications only + if present in their respective `config.eager_load_paths`. + + A common use case for this is adding `lib` to `config.autoload_paths`, but + not to `config.eager_load_paths`. In that configuration, for example, files + in the `lib` directory should not be eager loaded. + + *Xavier Noria* + * Fix bug in Range comparisons when comparing to an excluded-end Range Before: |