diff options
author | Yves Senn <yves.senn@gmail.com> | 2014-01-09 23:45:33 -0800 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2014-01-09 23:45:33 -0800 |
commit | 8ad161201100b1ecb976e0096ab5a0936a934ac4 (patch) | |
tree | 532b39cb2bfe9b6d2e76c2cfc7e3d928ca6925b3 | |
parent | 07f6a1cd945be421804f75bf06f95656ac5b121d (diff) | |
parent | 951bb848beb6ad21fdde8122f66685ecddc77ad9 (diff) | |
download | rails-8ad161201100b1ecb976e0096ab5a0936a934ac4.tar.gz rails-8ad161201100b1ecb976e0096ab5a0936a934ac4.tar.bz2 rails-8ad161201100b1ecb976e0096ab5a0936a934ac4.zip |
Merge pull request #13657 from leriksen/master
[ci skip] - error_messages_for has been deprecated since 2.3.8 - lets re...
-rw-r--r-- | guides/source/layouts_and_rendering.md | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/guides/source/layouts_and_rendering.md b/guides/source/layouts_and_rendering.md index c2d9772063..c72b584ed6 100644 --- a/guides/source/layouts_and_rendering.md +++ b/guides/source/layouts_and_rendering.md @@ -1008,7 +1008,6 @@ You can also pass local variables into partials, making them even more powerful ```html+erb <h1>New zone</h1> - <%= error_messages_for :zone %> <%= render partial: "form", locals: {zone: @zone} %> ``` @@ -1016,7 +1015,6 @@ You can also pass local variables into partials, making them even more powerful ```html+erb <h1>Editing zone</h1> - <%= error_messages_for :zone %> <%= render partial: "form", locals: {zone: @zone} %> ``` |