aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaime Iniesta <jaimeiniesta@gmail.com>2010-11-15 00:07:25 +0100
committerJaime Iniesta <jaimeiniesta@gmail.com>2010-11-15 00:07:25 +0100
commit324569bb113ab6525d3eb1d5e35fa6bc911917eb (patch)
tree9064475af7b44bb3ff239e920cae063d0c396b08
parentabf225423cbe11fcb0460a40bd49263694eaef06 (diff)
downloadrails-324569bb113ab6525d3eb1d5e35fa6bc911917eb.tar.gz
rails-324569bb113ab6525d3eb1d5e35fa6bc911917eb.tar.bz2
rails-324569bb113ab6525d3eb1d5e35fa6bc911917eb.zip
Getting Started guide: remove calls to f.error_messages as it has been removed from Rails
-rw-r--r--railties/guides/source/getting_started.textile8
1 files changed, 0 insertions, 8 deletions
diff --git a/railties/guides/source/getting_started.textile b/railties/guides/source/getting_started.textile
index e592417dcb..f3420e37d1 100644
--- a/railties/guides/source/getting_started.textile
+++ b/railties/guides/source/getting_started.textile
@@ -919,8 +919,6 @@ So first, we'll wire up the Post show template (+/app/views/posts/show.html.erb+
<h2>Add a comment:</h2>
<%= form_for([@post, @post.comments.build]) do |f| %>
- <%= f.error_messages %>
-
<div class="field">
<%= f.label :commenter %><br />
<%= f.text_field :commenter %>
@@ -989,8 +987,6 @@ Once we have made the new comment, we send the user back to the original post us
<h2>Add a comment:</h2>
<%= form_for([@post, @post.comments.build]) do |f| %>
- <%= f.error_messages %>
-
<div class="field">
<%= f.label :commenter %><br />
<%= f.text_field :commenter %>
@@ -1057,8 +1053,6 @@ Then in the +app/views/posts/show.html.erb+ you can change it to look like the f
<h2>Add a comment:</h2>
<%= form_for([@post, @post.comments.build]) do |f| %>
- <%= f.error_messages %>
-
<div class="field">
<%= f.label :commenter %><br />
<%= f.text_field :commenter %>
@@ -1086,8 +1080,6 @@ Lets also move that new comment section out to it's own partial, again, you crea
<erb>
<%= form_for([@post, @post.comments.build]) do |f| %>
- <%= f.error_messages %>
-
<div class="field">
<%= f.label :commenter %><br />
<%= f.text_field :commenter %>