1. 25 8月, 2013 2 次提交
  2. 18 8月, 2013 1 次提交
  3. 26 7月, 2013 1 次提交
  4. 19 6月, 2013 1 次提交
  5. 07 5月, 2013 1 次提交
  6. 06 1月, 2013 2 次提交
  7. 31 12月, 2012 1 次提交
  8. 20 12月, 2012 1 次提交
  9. 08 12月, 2012 1 次提交
  10. 20 11月, 2012 1 次提交
  11. 06 10月, 2012 1 次提交
  12. 30 8月, 2012 1 次提交
  13. 01 8月, 2012 1 次提交
  14. 21 6月, 2012 1 次提交
    • A
      Removed warnings. · 6f6111e0
      Arun Agrawal 提交于
      1. Change in test name as already defined.
      2. ambiguous first argument; put parentheses or 
      even spaces
      6f6111e0
  15. 19 6月, 2012 2 次提交
    • D
      Added test for case when view doesn't have logger method when using... · e8f9e667
      Dmitry Vorotilin 提交于
      Added test for case when view doesn't have logger method when using ActionController::Metal controller.
      e8f9e667
    • J
      Ensure that cache-control headers are merged · 0b4e8c8d
      James Tucker 提交于
      There are several aspects to this commit, that don't well fit into broken down
      commits, so they are detailed here:
      
       * When a user uses response.headers['Cache-Control'] = some_value, then the
         documented convention in ConditionalGet is not adhered to, in this case,
         response.cache_control is ignored due to `return if
         self[CACHE_CONTROL].present?`
       * When a middleware sets cache-control headers that would clobber, they're
         converted to symbols directly, without underscores. This would lead to bugs.
       * Items that would live in :extras if set through expires_in, are placed
         directly in the @cache_control hash, and not respected in many cases
         (somewhat adhering to the aforementioned documentation).
       * Although quite useless, any directive named 'extras' would be ignored.
      
      The general convention applied is that expires_* take precedence, but no longer
      overwrite everything and expires_* are ALWAYS applied, even if the header is
      set.
      
      I am still unhappy about the contents of this commit, and the code in general.
      Ideally it should be refactored to no longer use :extras. I'd likely recommend
      expanding @cache_control into a class, and giving it the power to handle the
      merge in a more efficient fashion. Such a commit would be a larger change that
      could have additional semantic changes for other libraries unless they utilize
      expires_in in very standard ways.
      0b4e8c8d
  16. 08 5月, 2012 1 次提交
  17. 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
  18. 29 3月, 2012 1 次提交
  19. 27 3月, 2012 1 次提交
    • P
      If partial is rendered in controller, grab format from template · 67b2404c
      Piotr Sarnacki 提交于
      Previously `rendered_format` was set only based on mime types
      passed in Accept header, which was wrong if first type from
      Accept was different than rendered partial. The fix is to simply
      move setting rendered_format to the place where template
      is available and grab format from the template. If it fails
      we can fallback to formats passed by Accept header.
      67b2404c
  20. 17 3月, 2012 1 次提交
  21. 10 3月, 2012 1 次提交
  22. 02 3月, 2012 1 次提交
  23. 17 2月, 2012 1 次提交
  24. 19 1月, 2012 1 次提交
  25. 18 1月, 2012 1 次提交
    • C
      Refactor FormBuilder arguments and default config · 56089ca9
      Carlos Antonio da Silva 提交于
      * Do not reopen AV::Base to define default form builder
        Inside the load hook we are already in AV::Base context.
      
      * Do not pass the given block to the form builder
        The block is evaluated in fields_for context using capture, with the
        builder as argument. This means we do not need to give the block to the
        FormBuilder itself.
      56089ca9
  26. 17 1月, 2012 2 次提交
  27. 06 1月, 2012 1 次提交
  28. 20 12月, 2011 2 次提交
  29. 02 12月, 2011 3 次提交
  30. 31 10月, 2011 1 次提交
  31. 22 9月, 2011 2 次提交
  32. 05 9月, 2011 1 次提交