diff options
author | Tim Reischmann <me@tim.fm> | 2011-11-28 09:27:42 +0100 |
---|---|---|
committer | Tim Reischmann <me@tim.fm> | 2011-11-28 09:27:42 +0100 |
commit | 2f428a6245a18017c7942f8fef3da4a85bec8cc5 (patch) | |
tree | 667c9a0ff1e30c83f7531d7a4c431458f6893423 /railties | |
parent | 9cf285599c1e99736f5dd9d01f986c19dcf3d4da (diff) | |
download | rails-2f428a6245a18017c7942f8fef3da4a85bec8cc5.tar.gz rails-2f428a6245a18017c7942f8fef3da4a85bec8cc5.tar.bz2 rails-2f428a6245a18017c7942f8fef3da4a85bec8cc5.zip |
fixed typo in getting started form_for for comments
Diffstat (limited to 'railties')
-rw-r--r-- | railties/guides/source/getting_started.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/getting_started.textile b/railties/guides/source/getting_started.textile index fe43c9db36..3ff6603a4c 100644 --- a/railties/guides/source/getting_started.textile +++ b/railties/guides/source/getting_started.textile @@ -1297,7 +1297,7 @@ So first, we'll wire up the Post show template </p> <h2>Add a comment:</h2> -<%= form_for([@post, @post.comments.build]) do |f| %> +<%= form_for([@post, @post.comment.build]) do |f| %> <div class="field"> <%= f.label :commenter %><br /> <%= f.text_field :commenter %> |