From 951bb848beb6ad21fdde8122f66685ecddc77ad9 Mon Sep 17 00:00:00 2001 From: leriksen Date: Fri, 10 Jan 2014 12:08:17 +1100 Subject: [ci skip] - error_messages_for has been deprecated since 2.3.8 - lets reduce any confusion for users --- guides/source/layouts_and_rendering.md | 2 -- 1 file changed, 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

New zone

- <%= 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

Editing zone

- <%= error_messages_for :zone %> <%= render partial: "form", locals: {zone: @zone} %> ``` -- cgit v1.2.3