Skip to content
Browse files

Extend description of rails generate scaffold and what it's options a…

…ccomplish
  • Loading branch information...
1 parent 75e0406 commit 0405394da2140211bbd89327aa7d962699619949 @jasonnoble jasonnoble committed with fxn Jul 24, 2011
Showing with 4 additions and 0 deletions.
  1. +4 −0 railties/guides/source/getting_started.textile
View
4 railties/guides/source/getting_started.textile
@@ -536,6 +536,10 @@ command in your terminal:
$ rails generate scaffold Post name:string title:string content:text
</shell>
+This will create a new database table called posts (plural of Post). The table
+will have three columns, name (type string), title (type string) and content
+(type text). It will also hook this new database up to Rails (details below).
+
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

0 comments on commit 0405394

Please sign in to comment.
Something went wrong with that request. Please try again.