1. 29 4月, 2012 2 次提交
  2. 25 4月, 2012 1 次提交
    • J
      Remove default match without specified method · 56cdc81c
      Jose and Yehuda 提交于
      In the current router DSL, using the +match+ DSL
      method will match all verbs for the path to the
      specified endpoint.
      
      In the vast majority of cases, people are
      currently using +match+ when they actually mean
      +get+. This introduces security implications.
      
      This commit disallows calling +match+ without
      an HTTP verb constraint by default. To explicitly
      match all verbs, this commit also adds a
      :via => :all option to +match+.
      
      Closes #5964
      56cdc81c
  3. 18 2月, 2012 1 次提交
  4. 09 2月, 2012 1 次提交
  5. 17 1月, 2012 2 次提交
  6. 10 1月, 2012 3 次提交
  7. 06 1月, 2012 2 次提交
  8. 03 1月, 2012 2 次提交
  9. 25 12月, 2011 1 次提交
  10. 21 12月, 2011 1 次提交
  11. 03 10月, 2011 1 次提交
  12. 02 10月, 2011 1 次提交
  13. 23 8月, 2011 2 次提交
  14. 26 6月, 2011 1 次提交
  15. 11 6月, 2011 1 次提交
  16. 04 6月, 2011 1 次提交
    • A
      Refactor ActionController::TestCase cookies · d4658d86
      Andrew White 提交于
      Assigning cookies for test cases should now use cookies[], e.g:
      
        cookies[:email] = 'user@example.com'
        get :index
        assert_equal 'user@example.com', cookies[:email]
      
      To clear the cookies, use clear, e.g:
      
        cookies.clear
        get :index
        assert_nil cookies[:email]
      
      We now no longer write out HTTP_COOKIE and the cookie jar is
      persistent between requests so if you need to manipulate the environment
      for your test you need to do it before the cookie jar is created.
      d4658d86
  17. 22 5月, 2011 1 次提交
    • D
      Stringify param values in controller tests. · 9277e72a
      David Chelimsky 提交于
      This reduces false positives that come from using ints in params in
      tests, which do not get converted to strings in the tests. In
      implementations going through rack, they do get converted to strings.
      
      - David Chelimsky and Sam Umbach
      9277e72a
  18. 28 4月, 2011 1 次提交
  19. 27 9月, 2010 1 次提交
  20. 06 9月, 2010 1 次提交
  21. 05 9月, 2010 2 次提交
  22. 24 8月, 2010 1 次提交
  23. 17 8月, 2010 1 次提交
  24. 14 8月, 2010 2 次提交
  25. 02 8月, 2010 1 次提交
  26. 22 7月, 2010 1 次提交
  27. 18 4月, 2010 1 次提交
  28. 09 4月, 2010 1 次提交
  29. 31 3月, 2010 1 次提交
  30. 04 3月, 2010 2 次提交