diff options
author | Guillermo Iguaran <guilleiguaran@gmail.com> | 2011-09-03 21:03:28 -0700 |
---|---|---|
committer | Guillermo Iguaran <guilleiguaran@gmail.com> | 2011-09-03 21:03:28 -0700 |
commit | 479c853b3f8e8a546266199e2dace36f4bf7efbc (patch) | |
tree | 87cd7d51f0d9f0f96b0d5d1e42e3c00db61e0840 /railties/guides/source | |
parent | 5014b330288d41680477800847e83e049a5b57c3 (diff) | |
parent | d72ecd92a270823e2fd400066e3c3c55a9bda478 (diff) | |
download | rails-479c853b3f8e8a546266199e2dace36f4bf7efbc.tar.gz rails-479c853b3f8e8a546266199e2dace36f4bf7efbc.tar.bz2 rails-479c853b3f8e8a546266199e2dace36f4bf7efbc.zip |
Merge pull request #64 from rinaldifonseca/master
Added |t| to create_table block
Diffstat (limited to 'railties/guides/source')
-rw-r--r-- | railties/guides/source/3_1_release_notes.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/3_1_release_notes.textile b/railties/guides/source/3_1_release_notes.textile index 73a96388af..c4da87dc34 100644 --- a/railties/guides/source/3_1_release_notes.textile +++ b/railties/guides/source/3_1_release_notes.textile @@ -315,7 +315,7 @@ end <ruby> class MyMigration < ActiveRecord::Migration def change - create_table(:horses) do + create_table(:horses) do |t| t.column :content, :text t.column :remind_at, :datetime end |