Permalink
Browse files

Add note which links to documentation regarding the types of columns …

…available.
  • Loading branch information...
1 parent 9560f50 commit e4456b6f03318147f119271770a14e0edd58a4a8 @radar radar committed Dec 9, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0 railties/guides/source/command_line.textile
@@ -197,6 +197,8 @@ Examples:
Creates a Post model with a string title, text body, and published flag.
</shell>
+NOTE: For a list of available field types, refer to the "API documentation":http://api.rubyonrails.org/classes/ActiveRecord/ConnectionAdapters/TableDefinition.html#method-i-column for the column method for the +TableDefinition+ class.
+
But instead of generating a model directly (which we'll be doing later), let's set up a scaffold. A *scaffold* in Rails is a full set of model, database migration for that model, controller to manipulate it, views to view and manipulate the data, and a test suite for each of the above.
We will set up a simple resource called "HighScore" that will keep track of our highest score on video games we play.

0 comments on commit e4456b6

Please sign in to comment.