1. 18 3月, 2017 1 次提交
    • 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
  2. 15 3月, 2017 1 次提交
  3. 24 2月, 2017 1 次提交
  4. 23 2月, 2017 2 次提交
  5. 22 2月, 2017 1 次提交
  6. 21 2月, 2017 2 次提交
  7. 08 2月, 2017 1 次提交
  8. 03 2月, 2017 1 次提交
  9. 23 1月, 2017 1 次提交
  10. 13 1月, 2017 1 次提交
  11. 10 1月, 2017 2 次提交
  12. 01 1月, 2017 1 次提交
  13. 23 12月, 2016 1 次提交
  14. 09 12月, 2016 2 次提交
  15. 02 12月, 2016 1 次提交
  16. 29 11月, 2016 3 次提交
  17. 22 11月, 2016 1 次提交
  18. 13 11月, 2016 1 次提交
  19. 02 11月, 2016 1 次提交
  20. 25 10月, 2016 1 次提交
  21. 21 10月, 2016 1 次提交
  22. 14 9月, 2016 2 次提交
  23. 16 8月, 2016 1 次提交
  24. 14 8月, 2016 1 次提交
  25. 13 8月, 2016 1 次提交
  26. 07 8月, 2016 2 次提交
  27. 27 7月, 2016 1 次提交
  28. 21 7月, 2016 1 次提交
    • G
      Enforce minimal web-console version for Rails 5 · e072db77
      Genadi Samokovarov 提交于
      I dropped the version constraint in web-console with the idea it will be
      easier to upgrade the console between Rails releases. However, issues
      like #25899 started popping up.
      
      I'm reintroducing the constraint, but this time, I don't set an upper
      limit to the major version. This will keep the web-console in a version
      that always works for the current Rails version and can be easily
      upgraded to the last one with `bundle update`.
      
      We may need to backport this for Rails 5.0.1.
      
      Fixes #25899.
      e072db77
  29. 17 7月, 2016 1 次提交
  30. 02 7月, 2016 1 次提交
  31. 07 6月, 2016 1 次提交
  32. 04 6月, 2016 1 次提交
    • P
      Fix minor regression about old apps not getting per_form_csrf and... · a7adec93
      Prathamesh Sonpatki 提交于
      Fix minor regression about old apps not getting per_form_csrf and request_forgery_protection configs
      
      - Earlier per_form_csrf_tokens and request_forgery_protection config
        files were generated for old apps upgraded to Rails 5.
      - But when we collapsed all initializers into one file, the entire file
        does not get created for old apps.
      - This commit fixes it and also changes values for all new defaults for
        old apps so that they will not break.
      - Also added a test for `rails app:update`.
      a7adec93