aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides
diff options
context:
space:
mode:
authorRohit Arondekar <rohit.arondekar@gmail.com>2010-04-19 03:12:52 -0700
committerRohit Arondekar <rohit.arondekar@gmail.com>2010-04-19 03:12:52 -0700
commita870c4928cac8bf14ddbda487108bce45bed0fa2 (patch)
tree4d6f400db04dd92284040ef7f6de4c79b0e57a42 /railties/guides
parent3948ba89e143eeebb8a2a9bd5f370abb66a47377 (diff)
downloadrails-a870c4928cac8bf14ddbda487108bce45bed0fa2.tar.gz
rails-a870c4928cac8bf14ddbda487108bce45bed0fa2.tar.bz2
rails-a870c4928cac8bf14ddbda487108bce45bed0fa2.zip
Cleaned up the table of files created by scaffolding a Post.
Diffstat (limited to 'railties/guides')
-rw-r--r--railties/guides/source/getting_started.textile8
1 files changed, 4 insertions, 4 deletions
diff --git a/railties/guides/source/getting_started.textile b/railties/guides/source/getting_started.textile
index 6cc989d156..09190f5800 100644
--- a/railties/guides/source/getting_started.textile
+++ b/railties/guides/source/getting_started.textile
@@ -356,7 +356,6 @@ The scaffold generator will build 15 files in your application, along with some
|_.File |_.Purpose|
|db/migrate/20100207214725_create_posts.rb.rb |Migration to create the posts table in your database (your name will include a different timestamp)|
|app/models/post.rb |The Post model|
-|test/unit/post_test.rb |Unit testing harness for the posts model|
|test/fixtures/posts.yml |Dummy posts for use in testing|
|app/controllers/posts_controller.rb |The Posts controller|
|app/views/posts/index.html.erb |A view to display an index of all posts |
@@ -364,11 +363,12 @@ The scaffold generator will build 15 files in your application, along with some
|app/views/posts/show.html.erb |A view to display a single post|
|app/views/posts/new.html.erb |A view to create a new post|
|app/views/posts/_form.html.erb |A partial to control the overall look and feel of the form used in edit and new views|
-|app/views/layouts/posts.html.erb |A view to control the overall look and feel of the other posts views|
+|app/views/layouts/posts.html.erb |A view to control the overall look and feel of the other post views|
+|app/helpers/posts_helper.rb |Helper functions to be used from the post views|
+|test/unit/post_test.rb |Unit testing harness for the posts model|
|test/functional/posts_controller_test.rb |Functional testing harness for the posts controller|
-|app/helpers/posts_helper.rb |Helper functions to be used from the posts views|
-|config/routes.rb |Edited to include routing information for posts|
|test/unit/helpers/posts_helper_test.rb |Unit testing harness for the posts helper|
+|config/routes.rb |Edited to include routing information for posts|
|public/stylesheets/scaffold.css |Cascading style sheet to make the scaffolded views look better|
h4. Running a Migration