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

Track the version-compatible config settings inside railties #28469

Merged
merged 1 commit into from Mar 18, 2017

Commits on Mar 17, 2017

  1. Track the version-compatible config settings inside railties

    Instead of forcing new applications to carry an initializer that just
    switches things to what their default "should" be, we can handle it
    internally.
    
    The initializer is then only used by upgraders: it shows what the new
    default would be (commented out), while their upgraded application
    continues to operate as it did before.
    
    Under this model, a multiply-upgraded application could accumulate
    several new_framework_defaults_*.rb files, for each release series it
    has traversed. A given release series only needs to generate the latest,
    though, because we don't support `rails app:upgrade` while skipping
    releases.
    matthewd committed Mar 17, 2017
    Copy the full SHA
    4183ee8 View commit details
    Browse the repository at this point in the history