1. 18 5月, 2012 1 次提交
  2. 30 4月, 2012 1 次提交
  3. 29 4月, 2012 1 次提交
  4. 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
  5. 12 4月, 2012 1 次提交
  6. 01 4月, 2012 1 次提交
  7. 28 3月, 2012 1 次提交
  8. 27 3月, 2012 3 次提交
  9. 23 3月, 2012 1 次提交
  10. 14 3月, 2012 1 次提交
  11. 10 3月, 2012 1 次提交
  12. 28 2月, 2012 1 次提交
  13. 27 2月, 2012 2 次提交
  14. 25 2月, 2012 1 次提交
  15. 24 2月, 2012 1 次提交
  16. 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
  17. 12 2月, 2012 1 次提交
  18. 02 2月, 2012 1 次提交
  19. 01 2月, 2012 1 次提交
  20. 27 1月, 2012 1 次提交
  21. 23 1月, 2012 1 次提交
  22. 17 1月, 2012 1 次提交
  23. 07 1月, 2012 2 次提交
  24. 06 1月, 2012 3 次提交
  25. 04 1月, 2012 1 次提交
  26. 11 12月, 2011 1 次提交
  27. 05 12月, 2011 1 次提交
  28. 30 11月, 2011 1 次提交
  29. 28 11月, 2011 1 次提交
    • V
      add namespace options to form_for · fb8b555c
      Vasiliy Ermolovich 提交于
      You can provide a namespace for your form to ensure uniqueness of id attributes on form elements.
      The namespace attribute will be prefixed with underscore on the generate HTML id
      fb8b555c
  30. 27 11月, 2011 1 次提交
  31. 24 11月, 2011 1 次提交
  32. 17 11月, 2011 1 次提交
  33. 05 11月, 2011 1 次提交
  34. 04 11月, 2011 1 次提交