1. 26 7月, 2019 4 次提交
  2. 25 7月, 2019 5 次提交
  3. 24 7月, 2019 3 次提交
  4. 23 7月, 2019 7 次提交
  5. 20 7月, 2019 2 次提交
  6. 18 7月, 2019 1 次提交
  7. 17 7月, 2019 1 次提交
  8. 16 7月, 2019 7 次提交
  9. 15 7月, 2019 1 次提交
  10. 14 7月, 2019 2 次提交
    • J
      Update guide for render file: · c185f793
      John Hawthorn 提交于
      Most of this section was written from the time that render file: was the
      default, before CVE-2016-0752.
      
      This updates the guide to the Rails 6 `render file:` behaviour, moves it
      to a more appropriate part of the file.
      
      [ci skip]
      c185f793
    • J
      Remove obsolete or discouraged render examples · 211dd25e
      John Hawthorn 提交于
      Most of these examples no longer work. The ability to render an absolute
      path was removed as part of CVE-2016-0752. In Rails 6 we changed `render
      file:` to only take exact paths and always to render them as raw files.
      Rendering a template with its extensions _is_ supported, but I don't
      think should be recommended.
      
      This also removes `render file:` from an example where it isn't
      relevant.
      
      [ci skip]
      211dd25e
  11. 13 7月, 2019 6 次提交
  12. 12 7月, 2019 1 次提交