1. 27 5月, 2012 1 次提交
  2. 22 5月, 2012 2 次提交
  3. 21 5月, 2012 3 次提交
    • R
      Fix CHANGELOG order and add a brief description of the changes in the · a78ee05d
      Rafael Mendonça França 提交于
      Action Pack in the upgrading guide. [ci skip]
      a78ee05d
    • A
      Return 400 Bad Request for URL paths with invalid encoding. · 3fc561a1
      Andrew White 提交于
      Passing path parameters with invalid encoding is likely to trigger errors
      further on like `ArgumentError (invalid byte sequence in UTF-8)`. This will
      result in a 500 error whereas the better error to return is a 400 error which
      allows exception notification libraries to filter it out if they wish.
      
      Closes #4450
      3fc561a1
    • A
      Raise ActionController::BadRequest for malformed parameter hashes. · 66eb3f02
      Andrew White 提交于
      Currently Rack raises a TypeError when it encounters a malformed or
      ambiguous hash like `foo[]=bar&foo[4]=bar`. Rather than pass this
      through to the application this commit captures the exception and
      re-raises it using a new ActionController::BadRequest exception.
      
      The new ActionController::BadRequest exception returns a 400 error
      instead of the 500 error that would've been returned by the original
      TypeError. This allows exception notification libraries to ignore
      these errors if so desired.
      
      Closes #3051
      66eb3f02
  4. 20 5月, 2012 1 次提交
    • D
      Raise Assertion instead of RoutingError for routing assertion failures. · dcce0113
      David Chelimsky 提交于
      Before this change, assert_recognizes, assert_generates, and
      assert_routing raised ActionController::RoutingError when they failed to
      recognize the route.
      
      This commit changes them to raise Assertion instead. This aligns with
      convention for logical failures, and supports reporting tools that care
      about the difference between logical failures and errors e.g. the
      summary at the end of a test run.
      
      - Fixes #5899
      dcce0113
  5. 19 5月, 2012 1 次提交
    • C
      Clarify grouped_options_for_select method API, add changelog entry · 0e207a49
      Carlos Antonio da Silva 提交于
      Make the method API more clear by explicitly showing the expected
      arguments. This means that the options cannot be passed as second
      argument because we are not relying on extract_options! anymore,
      you are expected to give a selected key or `nil` if you want to pass
      options, as it is the last argument.
      
      Notice that this does not change the current method arguments contract
      available in 3.2, it just brings back the same functionality with the
      divider addition.
      0e207a49
  6. 18 5月, 2012 3 次提交
  7. 15 5月, 2012 3 次提交
  8. 14 5月, 2012 1 次提交
  9. 13 5月, 2012 2 次提交
  10. 12 5月, 2012 1 次提交
  11. 11 5月, 2012 1 次提交
  12. 06 5月, 2012 1 次提交
  13. 03 5月, 2012 2 次提交
  14. 30 4月, 2012 3 次提交
  15. 29 4月, 2012 3 次提交
  16. 16 4月, 2012 1 次提交
  17. 12 4月, 2012 1 次提交
  18. 30 3月, 2012 1 次提交
  19. 29 3月, 2012 2 次提交
  20. 18 3月, 2012 1 次提交
  21. 15 3月, 2012 3 次提交
  22. 14 3月, 2012 2 次提交
  23. 12 3月, 2012 1 次提交