Permalink
Browse files

Added |t| to create_table block

  • Loading branch information...
rinaldifonseca committed Sep 4, 2011
1 parent 5014b33 commit d72ecd92a270823e2fd400066e3c3c55a9bda478
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 d72ecd9

Please sign in to comment.