1. 30 8月, 2016 3 次提交
  2. 29 8月, 2016 5 次提交
  3. 28 8月, 2016 8 次提交
  4. 27 8月, 2016 7 次提交
  5. 26 8月, 2016 8 次提交
  6. 25 8月, 2016 7 次提交
    • R
      Fix typo in the hook name · 029cbb35
      Rafael Mendonça França 提交于
      029cbb35
    • R
      Add load hooks to all tests classes · 0510208d
      Rafael Mendonça França 提交于
      Usually users extends tests classes doing something like:
      
          ActionView::TestCase.include MyCustomTestHelpers
      
      This is bad because it will load the ActionView::TestCase right aways
      and this will load ActionController::Base making its on_load hooks to
      execute early than it should.
      
      One way to fix this is using the on_load hooks of the components like:
      
          ActiveSupport.on_load(:action_view) do
            ActionView::TestCase.include MyCustomTestHelpers
          end
      
      The problem with this approach is that the test extension will be only
      load when ActionView::Base is loaded and this may happen too late in the
      test.
      
      To fix this we are adding hooks to people extend the test classes that
      will be loaded exactly when the test classes are needed.
      0510208d
    • A
      kick different instrumentation method · 804f5b3c
      Aaron Patterson 提交于
      We can eliminate a conditional by calling a different instrumentation
      method depending on the situation.  In this case, we'll call the special
      case "!render_template" instrumentation method and eliminate the case /
      when clause from the `instrument` method.
      804f5b3c
    • A
      remove useless freeze · c1049403
      Aaron Patterson 提交于
      Ruby already does this freeze for us.
      c1049403
    • A
      Simplify cache hit logging · 07da5aeb
      Aaron Patterson 提交于
      CacheHelper is mixed in to Helpers, Helpers is mixed in to AV::Base.
      This means we can count on instances of AV::Base to have the "cache hit"
      method on them, and we can stop setting an ivar for cache logging and
      just ask the view if it was a cache hit.
      07da5aeb
    • G
      Merge pull request #26271 from jcoleman/fix-unnecessary-query-cache-busting-test · ef8315ac
      Guillermo Iguaran 提交于
      Test that AR query cache isn't busted when types are not same object
      ef8315ac
    • S
      Merge pull request #26235 from samphippen/allow-early-setting-of-integration-session · dd77e1bb
      Sean Griffin 提交于
      Allow the `integration_sesion` to be set early on ActionDispatch::Integration::Runner.
      dd77e1bb
  7. 24 8月, 2016 2 次提交