From 19e565d005f30c72568eb710a6376c95038ea806 Mon Sep 17 00:00:00 2001 From: rohit Date: Thu, 29 Apr 2010 12:30:01 +0530 Subject: revert back to tags instead of tags in the getting started guide --- railties/guides/source/getting_started.textile | 58 +++++++++++++------------- 1 file changed, 29 insertions(+), 29 deletions(-) (limited to 'railties/guides/source') diff --git a/railties/guides/source/getting_started.textile b/railties/guides/source/getting_started.textile index a4f969efe9..04075b7ee4 100644 --- a/railties/guides/source/getting_started.textile +++ b/railties/guides/source/getting_started.textile @@ -689,17 +689,17 @@ The +show+ action uses +Post.find+ to search for a single record in the database

<%= notice %>

- Name: + Name: <%= @post.name %>

- Title: + Title: <%= @post.title %>

- Content: + Content: <%= @post.content %>

@@ -904,17 +904,17 @@ So first, we'll wire up the Post show template (+/app/views/posts/show.html.erb+

<%= notice %>

- Name: + Name: <%= @post.name %>

- Title: + Title: <%= @post.title %>

- Content: + Content: <%= @post.content %>

@@ -961,29 +961,29 @@ Once we have made the new comment, we send the user back to the original post us

<%= notice %>

- Name: + Name: <%= @post.name %>

- Title: + Title: <%= @post.title %>

- Content: + Content: <%= @post.content %>

Comments

<% @post.comments.each do |comment| %>

- Commenter: + Commenter: <%= comment.commenter %>

- Comment: + Comment: <%= comment.body %>

<% end %> @@ -1023,12 +1023,12 @@ First we will make a comment partial to extract showing all the comments for the

- Commenter: + Commenter: <%= comment.commenter %>

- Comment: + Comment: <%= comment.body %>

@@ -1039,17 +1039,17 @@ Then in the +app/views/posts/show.html.erb+ you can change it to look like the f

<%= notice %>

- Name: + Name: <%= @post.name %>

- Title: + Title: <%= @post.title %>

- Content: + Content: <%= @post.content %>

@@ -1110,17 +1110,17 @@ Then you make the +app/views/posts/show.html.erb+ look like the following:

<%= notice %>

- Name: + Name: <%= @post.name %>

- Title: + Title: <%= @post.title %>

- Content: + Content: <%= @post.content %>

@@ -1149,12 +1149,12 @@ So first, let's add the delete link in the +app/views/comments/_comment.html.erb

- Commenter: + Commenter: <%= comment.commenter %>

- Comment: + Comment: <%= comment.body %>

@@ -1350,22 +1350,22 @@ Finally, we will edit the app/views/posts/show.html.erb template to sho

<%= notice %>

- Name: + Name: <%= @post.name %>

- Title: + Title: <%= @post.title %>

- Content: + Content: <%= @post.content %>

- Tags: + Tags: <%= @post.tags.map { |t| t.name }.join(", ") %>

@@ -1405,22 +1405,22 @@ Now you can edit the view in app/views/posts/show.html.erb to look like

<%= notice %>

- Name: + Name: <%= @post.name %>

- Title: + Title: <%= @post.title %>

- Content: + Content: <%= @post.content %>

- Tags: + Tags: <%= join_tags(@post) %>

-- cgit v1.2.3