aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarel Minarik <karmi@karmi.cz>2010-12-28 16:37:11 +0100
committerKarel Minarik <karmi@karmi.cz>2010-12-28 16:38:50 +0100
commitcb4b5c8ad39e9e7a44ec13ded88083fe76cf8405 (patch)
tree0a7c45b6c8cb5c7bb3f04a9029e2d71b7f4a8adb
parent8031b7e42ba1b4d3e671e6ed52ffca890da160b0 (diff)
downloadrails-cb4b5c8ad39e9e7a44ec13ded88083fe76cf8405.tar.gz
rails-cb4b5c8ad39e9e7a44ec13ded88083fe76cf8405.tar.bz2
rails-cb4b5c8ad39e9e7a44ec13ded88083fe76cf8405.zip
Adding information and link to guide on customizing generators into "Getting Started" guide.
-rw-r--r--railties/guides/source/getting_started.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/getting_started.textile b/railties/guides/source/getting_started.textile
index 6a5a2b2d3b..f45e6cab11 100644
--- a/railties/guides/source/getting_started.textile
+++ b/railties/guides/source/getting_started.textile
@@ -349,7 +349,7 @@ In the case of the blog application, you can start by generating a scaffolded Po
$ rails generate scaffold Post name:string title:string content:text
</shell>
-NOTE. While scaffolding will get you up and running quickly, the "one size fits all" code that it generates is unlikely to be a perfect fit for your application. In most cases, you'll need to customize the generated code. Many experienced Rails developers avoid scaffolding entirely, preferring to write all or most of their source code from scratch.
+NOTE. While scaffolding will get you up and running quickly, the code it generates is unlikely to be a perfect fit for your application. You'll most probably want to customize the generated code. Many experienced Rails developers avoid scaffolding entirely, preferring to write all or most of their source code from scratch. Rails, however, makes it really simple to customize templates for generated models, controllers, views and other source files. You'll find more information in the "Creating and Customizing Rails Generators & Templates":generators.html guide.
The scaffold generator will build 15 files in your application, along with some folders, and edit one more. Here's a quick overview of what it creates: