1. 15 7月, 2019 1 次提交
  2. 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
  3. 13 7月, 2019 6 次提交
  4. 12 7月, 2019 1 次提交
  5. 11 7月, 2019 6 次提交
  6. 09 7月, 2019 5 次提交
  7. 08 7月, 2019 4 次提交
  8. 07 7月, 2019 3 次提交
  9. 05 7月, 2019 2 次提交
  10. 04 7月, 2019 1 次提交
  11. 03 7月, 2019 1 次提交
  12. 01 7月, 2019 2 次提交
  13. 28 6月, 2019 2 次提交
  14. 27 6月, 2019 1 次提交
  15. 26 6月, 2019 2 次提交
  16. 25 6月, 2019 1 次提交
    • R
      Merge pull request #36210 from... · 226f83f1
      Rafael França 提交于
      Merge pull request #36210 from vishaltelangre/raise-record-invalid-when-associations-fail-to-save-due-to-uniqueness-failure
      
      Fix: ActiveRecord::RecordInvalid is not raised when an associated record fails to #save! due to uniqueness validation failure
      226f83f1