Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TEMP: Rails 7.1 default: add_autoload_paths_to_load_path = true (temporarily) #3799

Merged
merged 3 commits into from
Mar 6, 2024

Conversation

veganstraightedge
Copy link
Contributor

@veganstraightedge veganstraightedge commented Mar 6, 2024

Description

Finished framework defaults 7.1 file

Changes

Overrides a 7.1 default for config.add_autoload_paths_to_load_path of false with true, for now

It needs to be true until we rethink how to handle allowing nested directories in locales folders.

But doing this first allows up to bump load_defaults 7.0 to 7.1

@veganstraightedge veganstraightedge changed the title Rails 7.1 default: add_autoload_paths_to_load_path = false TEMP: Rails 7.1 default: add_autoload_paths_to_load_path = true (temporarily) Mar 6, 2024
@veganstraightedge veganstraightedge marked this pull request as ready for review March 6, 2024 07:34
@bensheldon
Copy link
Contributor

Nice find! I'm surprised that the configuration for autoload-paths (for ruby files) would intersect with I18n's paths (for yml files). Glad it works!

@veganstraightedge
Copy link
Contributor Author

@bensheldon I was surprised by that too!

This is probably good for us anyhow. I've wanted to revisit our locales and yaml files approach, with lessons learned over the past 7 years.

@veganstraightedge veganstraightedge merged commit 1e2f4d7 into main Mar 6, 2024
7 checks passed
@veganstraightedge veganstraightedge deleted the add_autoload_paths_to_load_path_false branch March 6, 2024 20:20
veganstraightedge added a commit that referenced this pull request Mar 11, 2024
Following up #3799, we can now
version bump `config.load_defaults` from `7.0` to `7.1`

This make us best prepared for a future `7.2` or `8.0` release
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.

3 participants