1. 16 12月, 2015 1 次提交
    • A
      Update test generators to use ActionDispatch::IntegrationTest · 98a039dc
      Abdelkader Boudih 提交于
      In Rails 5.1 `ActionController::TestCase` will be moved out of Rails
      into it's own gem. Please use `ActionDispatch::IntegrationTest` going
      forward.
      
      This changes the generators to use `ActionDispatch::IntegrationTest` and
      the required URL setup (rather than symbols) for each of the controller
      actions.
      
      Updated fix to #22076.
      98a039dc
  2. 15 12月, 2015 1 次提交
  3. 14 12月, 2015 1 次提交
  4. 13 12月, 2015 1 次提交
  5. 08 11月, 2015 1 次提交
  6. 20 9月, 2015 1 次提交
  7. 09 1月, 2015 1 次提交
  8. 08 1月, 2015 1 次提交
  9. 06 1月, 2015 1 次提交
  10. 25 11月, 2014 1 次提交
  11. 22 11月, 2014 1 次提交
  12. 04 8月, 2014 1 次提交
  13. 14 1月, 2014 1 次提交
  14. 30 8月, 2013 1 次提交
  15. 29 11月, 2012 1 次提交
  16. 27 11月, 2012 1 次提交
  17. 05 11月, 2012 1 次提交
  18. 15 10月, 2012 1 次提交
  19. 10 10月, 2012 1 次提交
    • M
      Update test locations · 2a68f68a
      Mike Moore 提交于
      Change the default test locations to avoid confusion around the common
      testing terms "unit" and "functional".
      Add new rake tasks for the new locations, while maintaining backwards
      compatibility with the old rake tasks.
      
      New testing locations are as follows:
      
          app/models -> test/models (was test/units)
          app/helpers -> test/helpers (was test/units/helpers)
          app/controllers -> test/controllers (was test/functional)
          app/mailers -> test/mailers (was test/functional)
      2a68f68a
  20. 29 9月, 2012 1 次提交
  21. 07 7月, 2012 1 次提交
  22. 06 6月, 2012 1 次提交
  23. 22 5月, 2012 1 次提交
    • P
      Use require_dependency in generated controllers · 29d17d3a
      Piotr Sarnacki 提交于
      Using require in development mode will prevent required files from
      reloading, even if they're changed. In order to keep namespaced
      application_controller reloadable, we need to use require_dependency
      instead of require.
      29d17d3a
  24. 21 5月, 2012 1 次提交
    • P
      Fix generators to help with ambiguous `ApplicationController` issue · 7c95be54
      Piotr Sarnacki 提交于
      In development mode, dependencies are loaded dynamically at runtime,
      using `const_missing`. Because of that, when one of the constants is
      already loaded and `const_missing` is not triggered, user can end up
      with unexpected results.
      
      Given such file in an Engine:
      
      ```ruby
      module Blog
        class PostsController < ApplicationController
        end
      end
      ```
      
      If you load it first, before loading any application files, it will
      correctly load `Blog::ApplicationController`, because second line will
      hit `const_missing`. However if you load `ApplicationController` first,
      the constant will be loaded already, `const_missing` hook will not be
      fired and in result `PostsController` will inherit from
      `ApplicationController` instead of `Blog::ApplicationController`.
      
      Since it can't be fixed in `AS::Dependencies`, the easiest fix is to
      just explicitly load application controller.
      
      closes #6413
      7c95be54
  25. 19 5月, 2012 2 次提交
  26. 26 4月, 2012 1 次提交
  27. 25 4月, 2012 2 次提交
  28. 21 12月, 2011 1 次提交
  29. 07 6月, 2011 1 次提交
  30. 25 5月, 2011 1 次提交
    • T
      Move SCSS generators and default templates from Rails to the Sass Railtie... · 74ade51e
      tomhuda 提交于
      Move SCSS generators and default templates from Rails to the Sass Railtie (d435726312601edb3ba6f97b34f562221f72c1f8).
      
      * Sass gem registers a compressor
      * Sass gem registers generators for assets and scaffold
      * Create a default stylesheet_engine ("css") for apps that remove the Sass gem
      74ade51e
  31. 18 5月, 2011 1 次提交
  32. 14 5月, 2011 1 次提交
  33. 18 4月, 2011 1 次提交
  34. 04 11月, 2010 1 次提交
  35. 10 10月, 2010 1 次提交
    • P
      Rename namespace method to isolate_namespace. · 5d5eb2b1
      Piotr Sarnacki 提交于
      This change caused by confusion caused by calling engine
      "namespaced". Stuff inside engine can be namespaced for every
      engine. This method is not actually namespacing anything, it's
      isolating engine within the given namespace.
      5d5eb2b1
  36. 25 9月, 2010 3 次提交