1. 12 6月, 2019 4 次提交
  2. 07 6月, 2019 4 次提交
  3. 06 6月, 2019 2 次提交
  4. 05 6月, 2019 6 次提交
  5. 04 6月, 2019 3 次提交
    • E
      Merge pull request #36395 from cpruitt/6-0-stable · f9a0ae63
      Eileen M. Uchitelle 提交于
      Do not clear deprecated initializer dependencies if using classic autoloader
      f9a0ae63
    • C
      Do not clear deprecated initializer dependencies if using classic autoloader · bb3f24af
      Cliff Pruitt 提交于
      `Rails::Application::Finisher` defines a `:let_zeitwerk_take_over` initializer. This initializer is always run but it's statements are wrapped in a guard: `config.autoloader == :zeitwerk`.
      
      `Finisher` also defines a `initializer :warn_if_autoloaded` initializer with a `before: :let_zeitwerk_take_over` option which also always runs. This initializer unloads any constants autoloaded during initialization and displays a deprecation warning. This initializer does not account for `config.autoloader` being set to `:classic`.
      
      The problem is that this initializer changes the behavior of the classic autoloader. Constant autoloading from initializers is deprecated but the deprecation should not break existing applications which currently depend on autoloaded constants in initializers.
      
      This commit prevents the dependencies from being unloaded if the autoloader is not Zeitwerk. It also updates the deprecation warning, if the classic autoloader is enabled, to indicate that the constants would have been unloaded if Zeitwerk had been used.
      bb3f24af
    • Y
      Merge pull request #36397 from y-yagi/only_clear_cache_when_view_paths_are_specified · 287539fc
      Yuji Yaginuma 提交于
      Only clear cache when view paths are specified
      287539fc
  6. 03 6月, 2019 1 次提交
  7. 02 6月, 2019 2 次提交
  8. 01 6月, 2019 2 次提交
  9. 29 5月, 2019 4 次提交
  10. 28 5月, 2019 7 次提交
  11. 27 5月, 2019 1 次提交
  12. 26 5月, 2019 1 次提交
  13. 24 5月, 2019 2 次提交
  14. 23 5月, 2019 1 次提交