Skip to content
Browse files

[ci skip] - error_messages_for has been deprecated since 2.3.8 - lets…

… reduce any confusion for users
  • Loading branch information...
1 parent 8a5b480 commit 951bb848beb6ad21fdde8122f66685ecddc77ad9 @leriksen leriksen committed Jan 10, 2014
Showing with 0 additions and 2 deletions.
  1. +0 −2 guides/source/layouts_and_rendering.md
View
2 guides/source/layouts_and_rendering.md
@@ -1008,15 +1008,13 @@ 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} %>
```
* `edit.html.erb`
```html+erb
<h1>Editing zone</h1>
- <%= error_messages_for :zone %>
<%= render partial: "form", locals: {zone: @zone} %>
```

0 comments on commit 951bb84

Please sign in to comment.
Something went wrong with that request. Please try again.