aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorleriksen <leif.eriksen.au@gmail.com>2014-01-10 12:08:17 +1100
committerleriksen <leif.eriksen.au@gmail.com>2014-01-10 12:08:17 +1100
commit951bb848beb6ad21fdde8122f66685ecddc77ad9 (patch)
tree3c893d621069104dac01adfe554932f407bc61ce
parent8a5b480ebb46215210294b87a7ed9f1d8a032312 (diff)
downloadrails-951bb848beb6ad21fdde8122f66685ecddc77ad9.tar.gz
rails-951bb848beb6ad21fdde8122f66685ecddc77ad9.tar.bz2
rails-951bb848beb6ad21fdde8122f66685ecddc77ad9.zip
[ci skip] - error_messages_for has been deprecated since 2.3.8 - lets reduce any confusion for users
-rw-r--r--guides/source/layouts_and_rendering.md2
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} %>
```