1. 27 1月, 2020 5 次提交
  2. 26 1月, 2020 7 次提交
  3. 24 1月, 2020 13 次提交
  4. 23 1月, 2020 4 次提交
    • K
      Allow schema cache path to be defined in the config file · 2c2ff822
      Katrina Owen 提交于
      This updates the database tasks for dumping the Active Record schema cache as
      well as clearing the schema cache file, allowing the path to be defined in the
      database configuration YAML file.
      
      As before, the value can also be defined in an ENV variable, though this would
      not work for a multi-db application. If the value is specified neither in the
      DB config, nor in the ENV, then the path will continue to be derived from the
      DB config spec_name.
      
      Note that in order to make this change cleaner I also moved a bit of logic
      out of a rake task and into the DatabaseTasks class, for symmetry.
      
      We have two rake tasks for the schema cache:
      
          $ rake db:schema:cache:dump
          $ rake db:schema:cache:clear
      
      The cache:dump task was implemented in DatabaseTasks, but the
      cache:clear one was not.
      
      I also added some tests for the behavior that I was changing, since some of
      the code paths weren't tested.
      2c2ff822
    • R
      Merge pull request #38290 from mikong/fix-middleware-list-guides · 1c24f015
      Ryuta Kamizono 提交于
      Update list of middleware for API-only in Guides
      
      [ci skip]
      1c24f015
    • M
      Update list of middleware for API-only in Guides · cdde357a
      mikong 提交于
      [ci skip]
      cdde357a
    • E
      Merge pull request #38258 from eileencodes/deprecate-remove-connection · d80714e0
      Eileen M. Uchitelle 提交于
      Deprecate `#remove_connection` in favor of `#remove_connection_pool`
      d80714e0
  5. 22 1月, 2020 9 次提交
  6. 21 1月, 2020 2 次提交