• M
    Track the version-compatible config settings inside railties · 4183ee88
    Matthew Draper 提交于
    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.
    4183ee88
app_generator_test.rb 27.2 KB