1. 09 8月, 2012 1 次提交
  2. 06 8月, 2012 1 次提交
  3. 03 8月, 2012 1 次提交
  4. 06 6月, 2012 1 次提交
    • A
      fix meaningless test case · 24889666
      Akira Matsuda 提交于
      Module#instance_methods returns an Array of Symbols in Ruby >= 1.9
      So this was not actually testing anything
      24889666
  5. 05 6月, 2012 1 次提交
  6. 23 5月, 2012 1 次提交
  7. 22 5月, 2012 2 次提交
  8. 18 5月, 2012 1 次提交
  9. 30 4月, 2012 1 次提交
  10. 29 4月, 2012 1 次提交
  11. 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
  12. 12 4月, 2012 1 次提交
  13. 01 4月, 2012 1 次提交
  14. 28 3月, 2012 1 次提交
  15. 27 3月, 2012 3 次提交
  16. 23 3月, 2012 1 次提交
  17. 14 3月, 2012 1 次提交
  18. 10 3月, 2012 1 次提交
  19. 28 2月, 2012 1 次提交
  20. 27 2月, 2012 2 次提交
  21. 25 2月, 2012 1 次提交
  22. 24 2月, 2012 1 次提交
  23. 23 2月, 2012 1 次提交
    • D
      Add config.default_method_for_update to support PATCH · 002713c6
      David Lee 提交于
      PATCH is the correct HTML verb to map to the #update action. The
      semantics for PATCH allows for partial updates, whereas PUT requires a
      complete replacement.
      
      Changes:
      * adds config.default_method_for_update you can set to :patch
      * optionally use PATCH instead of PUT in resource routes and forms
      * adds the #patch verb to routes to detect PATCH requests
      * adds #patch? to Request
      * changes documentation and comments to indicate support for PATCH
      
      This change maintains complete backwards compatibility by keeping :put
      as the default for config.default_method_for_update.
      002713c6
  24. 12 2月, 2012 1 次提交
  25. 02 2月, 2012 1 次提交
  26. 01 2月, 2012 1 次提交
  27. 27 1月, 2012 1 次提交
  28. 23 1月, 2012 1 次提交
  29. 17 1月, 2012 1 次提交
  30. 07 1月, 2012 2 次提交
  31. 06 1月, 2012 3 次提交
  32. 04 1月, 2012 1 次提交
  33. 11 12月, 2011 1 次提交