aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSantiago Pastorino <santiago@wyeworks.com>2011-12-07 07:10:27 -0800
committerSantiago Pastorino <santiago@wyeworks.com>2011-12-07 07:10:27 -0800
commit4f107384f02b1f122330d3e589a92a8fdd078e2e (patch)
tree8f76f46b9ddcf86ed9702ada7daec514f458e1bc
parenteb22901920d339aa4cc510a74d75455f91e6e72f (diff)
parentdd647d938e7aeae9a15896672d7204867c98820f (diff)
downloadrails-4f107384f02b1f122330d3e589a92a8fdd078e2e.tar.gz
rails-4f107384f02b1f122330d3e589a92a8fdd078e2e.tar.bz2
rails-4f107384f02b1f122330d3e589a92a8fdd078e2e.zip
Merge pull request #3894 from kelyar/master
reversible migration example
-rw-r--r--activerecord/lib/active_record/migration.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/migration.rb b/activerecord/lib/active_record/migration.rb
index acf829ecd0..e53d5e7167 100644
--- a/activerecord/lib/active_record/migration.rb
+++ b/activerecord/lib/active_record/migration.rb
@@ -302,7 +302,7 @@ module ActiveRecord
#
# class TenderloveMigration < ActiveRecord::Migration
# def change
- # create_table(:horses) do
+ # create_table(:horses) do |t|
# t.column :content, :text
# t.column :remind_at, :datetime
# end