aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorkitallis <kitallis@gmail.com>2009-08-29 09:18:53 -0700
committerkitallis <kitallis@gmail.com>2009-08-29 09:18:53 -0700
commitea6cc2800fa82ac643e5028f285c84427b901829 (patch)
treebc46eca6b7b52be6b0cefb2450575ef32fc483a0 /railties
parent0a1c7b9df101b1f5921be0e1569c7fd007bd784a (diff)
downloadrails-ea6cc2800fa82ac643e5028f285c84427b901829.tar.gz
rails-ea6cc2800fa82ac643e5028f285c84427b901829.tar.bz2
rails-ea6cc2800fa82ac643e5028f285c84427b901829.zip
two typos fixed
Diffstat (limited to 'railties')
-rw-r--r--railties/guides/source/getting_started.textile4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/guides/source/getting_started.textile b/railties/guides/source/getting_started.textile
index 5c05648f12..eef221266e 100644
--- a/railties/guides/source/getting_started.textile
+++ b/railties/guides/source/getting_started.textile
@@ -51,7 +51,7 @@ A model represents the information (data) of the application and the rules to ma
h5. Views
-Views represent the user interface of your application. In Rails, views are often HTML files with embedded Ruby code that performs tasks related solely to the presentation of the data. Views handle the job of providing data to the web browser or other tool that is used to make requests from your application.
+Views represent the user interface of your application. In Rails, views are often HTML files with embedded Ruby code that perform tasks related solely to the presentation of the data. Views handle the job of providing data to the web browser or other tool that is used to make requests from your application.
h5. Controllers
@@ -1052,7 +1052,7 @@ This creates a new +Comment+ object _and_ sets up the +post_id+ field to have th
h4. Building Views
-Because you skipped scaffolding, you'll need to build views for comments "by hand." Invoking +script/generate controller+ will give you skeleton views, but they'll be devoid of actual content. Here's a first pass at fleshing out the comment views.
+Because you skipped scaffolding, you'll need to build views for comments "by hand". Invoking +script/generate controller+ will give you skeleton views, but they'll be devoid of actual content. Here's a first pass at fleshing out the comment views.
The +views/comments/index.html.erb+ view: