aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/3_1_release_notes.textile
diff options
context:
space:
mode:
authorRinaldi Fonseca <rinaldifonseca@gmail.com>2011-09-04 00:34:56 -0300
committerRinaldi Fonseca <rinaldifonseca@gmail.com>2011-09-04 00:34:56 -0300
commitd72ecd92a270823e2fd400066e3c3c55a9bda478 (patch)
tree87cd7d51f0d9f0f96b0d5d1e42e3c00db61e0840 /railties/guides/source/3_1_release_notes.textile
parent5014b330288d41680477800847e83e049a5b57c3 (diff)
downloadrails-d72ecd92a270823e2fd400066e3c3c55a9bda478.tar.gz
rails-d72ecd92a270823e2fd400066e3c3c55a9bda478.tar.bz2
rails-d72ecd92a270823e2fd400066e3c3c55a9bda478.zip
Added |t| to create_table block
Diffstat (limited to 'railties/guides/source/3_1_release_notes.textile')
-rw-r--r--railties/guides/source/3_1_release_notes.textile2
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