1. 05 11月, 2019 1 次提交
  2. 23 2月, 2019 1 次提交
    • A
      Pass lookup context to the layout handlers · 1cf38789
      Aaron Patterson 提交于
      I want to start reducing the calls to `lookup_context`.  That method
      caches the lookup context in an ivar, but I would like to cache the
      lookup context on the stack.  That way we aren't coupled to the behavior
      of the `lookup_context` method.
      1cf38789
  3. 21 10月, 2017 1 次提交
  4. 01 9月, 2017 1 次提交
    • M
      Clarify intentions around method redefinitions · 2e6658ae
      Matthew Draper 提交于
      Don't use remove_method or remove_possible_method just before a new
      definition: at best the purpose is unclear, and at worst it creates a
      race condition.
      
      Instead, prefer redefine_method when practical, and
      silence_redefinition_of_method otherwise.
      2e6658ae
  5. 24 7月, 2017 1 次提交
  6. 02 7月, 2017 1 次提交
  7. 01 7月, 2017 2 次提交
  8. 30 5月, 2017 1 次提交
  9. 05 1月, 2017 1 次提交
  10. 24 12月, 2016 1 次提交
  11. 14 11月, 2016 1 次提交
  12. 27 10月, 2016 2 次提交
  13. 10 10月, 2016 1 次提交
  14. 14 9月, 2016 1 次提交
  15. 03 9月, 2016 1 次提交
  16. 16 8月, 2016 1 次提交
  17. 07 8月, 2016 4 次提交
  18. 25 7月, 2016 1 次提交
  19. 16 7月, 2016 1 次提交
  20. 29 9月, 2015 1 次提交
  21. 25 8月, 2015 2 次提交
  22. 03 6月, 2015 1 次提交
  23. 08 4月, 2015 1 次提交
  24. 06 3月, 2015 1 次提交
  25. 29 11月, 2014 1 次提交
  26. 19 2月, 2014 3 次提交
    • P
      Introduce `render :html` for render HTML string · 920f3ba2
      Prem Sichanugrist 提交于
      This is an option for to HTML content with a content type of
      `text/html`. This rendering option calls `ERB::Util.html_escape`
      internally to escape unsafe HTML string, so you will have to mark your
      string as html safe if you have any HTML tag in it.
      
      Please see #12374 for more detail.
      920f3ba2
    • P
      Introduce `render :plain` for render plain text · 8cd9f6d2
      Prem Sichanugrist 提交于
      This is as an option to render content with a content type of
      `text/plain`. This is the preferred option if you are planning to render
      a plain text content.
      
      Please see #12374 for more detail.
      8cd9f6d2
    • P
      Introduce `render :body` for render raw content · 103e18c8
      Prem Sichanugrist 提交于
      This is an option for sending a raw content back to browser. Note that
      this rendering option will unset the default content type and does not
      include "Content-Type" header back in the response.
      
      You should only use this option if you are expecting the "Content-Type"
      header to not be set. More information on "Content-Type" header can be
      found on RFC 2616, section 7.2.1.
      
      Please see #12374 for more detail.
      103e18c8
  27. 20 11月, 2013 2 次提交
  28. 25 8月, 2013 2 次提交