Browse files

Merge pull request #64 from rinaldifonseca/master

Added |t| to create_table block
  • Loading branch information...
2 parents 5014b33 + d72ecd9 commit 479c853b3f8e8a546266199e2dace36f4bf7efbc @guilleiguaran guilleiguaran committed Sep 3, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/guides/source/3_1_release_notes.textile
View
2 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

0 comments on commit 479c853

Please sign in to comment.