From b3f8cbd9a8d95cfcaf5ac632e83041cad9154dde Mon Sep 17 00:00:00 2001 From: Jason Noble Date: Sat, 3 Dec 2011 19:11:22 -0700 Subject: Explain the t.timestamps method a little better --- railties/guides/source/migrations.textile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'railties/guides/source') diff --git a/railties/guides/source/migrations.textile b/railties/guides/source/migrations.textile index 2654b43cad..f271f3f89c 100644 --- a/railties/guides/source/migrations.textile +++ b/railties/guides/source/migrations.textile @@ -246,9 +246,10 @@ class CreateProducts < ActiveRecord::Migration end -You can append as many column name/type pairs as you want. By default -+t.timestamps+ (which creates the +updated_at+ and +created_at+ columns that are -automatically populated by Active Record) will be added for you. +You can append as many column name/type pairs as you want. By default, the +generated migration will include +t.timestamps+ (which creates the ++updated_at+ and +created_at+ columns that are automatically populated +by Active Record). h4. Creating a Standalone Migration -- cgit v1.2.3