1. 10 1月, 2016 3 次提交
    • S
      remove legacy mysql from guides to match #22715 · 8c629bf4
      Scott Bronson 提交于
      8c629bf4
    • K
      [ci skip] Clarify some Minitest origins. · 2ac430f4
      Kasper Timm Hansen 提交于
      It might be tough for readers to know why we implement `===`, and where
      the Regexp in `derive_regexp` came from.
      2ac430f4
    • K
      Extract line filtering to Railties. · 69e55471
      Kasper Timm Hansen 提交于
      The line filter parsing added to ActiveSupport::TestCase is only half the story
      to enable line filtering. The other half, of adding the patterns to the options,
      is done in the Minitest plugin that Railties has.
      
      Thus it makes more sense to have the filter in Railties with the other half and
      all the line filtering tests.
      
      Move the filter and extend Active Support in an initializer, so that when users
      or `rails/all.rb` require `rails/test_unit/railtie` we can still filter by line.
      69e55471
  2. 09 1月, 2016 18 次提交
  3. 08 1月, 2016 17 次提交
  4. 07 1月, 2016 2 次提交
    • K
      Merge pull request #22942 from Edouard-chin/rake-routes-error-message · a04cb1e3
      Kasper Timm Hansen 提交于
      Better error message when running `rake routes` with CONTROLLER arg:
      a04cb1e3
    • E
      Better error message when running `rake routes` with CONTROLLER arg: · ce13f791
      Edouard CHIN 提交于
      - `CONTROLLER` argument can now be supplied in different ways (Rails::WelcomeController, Rails::Welcome, rails/welcome)
      - If `CONTROLLER` argument was supplied but it does not exist, will warn the user that this controller does not exist
      - If `CONTROLLER` argument was supplied and no routes could be found matching this filter, will warn the user that no routes were found matching the supplied filter
      - If no routes were defined in the config/routes.rb file, will warn the user with the original message
      ce13f791