1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #64 from rinaldifonseca/master

Added |t| to create_table block
This commit is contained in:
Guillermo Iguaran 2011-09-03 21:03:28 -07:00
commit 479c853b3f

View file

@ -315,7 +315,7 @@ end
<ruby> <ruby>
class MyMigration < ActiveRecord::Migration class MyMigration < ActiveRecord::Migration
def change def change
create_table(:horses) do create_table(:horses) do |t|
t.column :content, :text t.column :content, :text
t.column :remind_at, :datetime t.column :remind_at, :datetime
end end