diff options
author | Jason Noble <github+jasonn@jasonnoble.org> | 2011-11-13 01:29:11 -0700 |
---|---|---|
committer | Jason Noble <github+jasonn@jasonnoble.org> | 2011-11-13 01:29:11 -0700 |
commit | 06a8d16c8e0d87ab9a0dbba642aeb255f877cc8e (patch) | |
tree | 7f162e60eee957b8cee9968b45df35fc71f35605 /railties | |
parent | 094bb8e50c839be9f5ed93282ececeb4e3a15d76 (diff) | |
download | rails-06a8d16c8e0d87ab9a0dbba642aeb255f877cc8e.tar.gz rails-06a8d16c8e0d87ab9a0dbba642aeb255f877cc8e.tar.bz2 rails-06a8d16c8e0d87ab9a0dbba642aeb255f877cc8e.zip |
Update wording to be more explicit on what the timestamp fields track
Diffstat (limited to 'railties')
-rw-r--r-- | railties/guides/source/getting_started.textile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/railties/guides/source/getting_started.textile b/railties/guides/source/getting_started.textile index d8e55eed60..01e0def226 100644 --- a/railties/guides/source/getting_started.textile +++ b/railties/guides/source/getting_started.textile @@ -609,12 +609,12 @@ class CreatePosts < ActiveRecord::Migration end </ruby> -The above migration creates a method named +change+ which will be called when you -run this migration. The action defined in that method is also reversible, which +The above migration has one method named +change+ which will be called when you +run this migration. The action defined in this method is also reversible, which means Rails knows how to reverse the change made by this migration, in case you -want to reverse it at later date. By default, when you run this migration it -creates a +posts+ table with two string columns and a text column. It also -creates two timestamp fields to track record creation and updating. More +want to reverse it at later date. When you run this migration it will create a ++posts+ table with two string columns and a text column. It also creates two +timestamp fields to allow Rails to track post creation and update times. More information about Rails migrations can be found in the "Rails Database Migrations":migrations.html guide. |