aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Noble <perlwizard@gmail.com>2011-12-03 19:11:22 -0700
committerJason Noble <perlwizard@gmail.com>2011-12-03 19:31:43 -0700
commitb3f8cbd9a8d95cfcaf5ac632e83041cad9154dde (patch)
treee496a19f69dd2c28de61bb1f226d359401437f23
parent1f765a2f720c63b8b0e937a100837d27731719aa (diff)
downloadrails-b3f8cbd9a8d95cfcaf5ac632e83041cad9154dde.tar.gz
rails-b3f8cbd9a8d95cfcaf5ac632e83041cad9154dde.tar.bz2
rails-b3f8cbd9a8d95cfcaf5ac632e83041cad9154dde.zip
Explain the t.timestamps method a little better
-rw-r--r--railties/guides/source/migrations.textile7
1 files changed, 4 insertions, 3 deletions
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
</ruby>
-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