aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-10-26 13:29:11 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-10-26 13:29:11 +0000
commit9b2ea172d72563c677e40156ba53aaaef6ed2294 (patch)
tree5ea15771c5ef3c35f411e55baa2226130d226399 /activerecord
parent17816a11ee62e133663276561ec53b8a2a98f6f8 (diff)
downloadrails-9b2ea172d72563c677e40156ba53aaaef6ed2294.tar.gz
rails-9b2ea172d72563c677e40156ba53aaaef6ed2294.tar.bz2
rails-9b2ea172d72563c677e40156ba53aaaef6ed2294.zip
Add exception to example (closes #2315)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2752 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/migration.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/lib/active_record/migration.rb b/activerecord/lib/active_record/migration.rb
index 9b93366906..90984b080b 100644
--- a/activerecord/lib/active_record/migration.rb
+++ b/activerecord/lib/active_record/migration.rb
@@ -92,6 +92,7 @@ module ActiveRecord
#
# def self.down
# # not much we can do to restore deleted data
+ # raise IrreversibleMigration
# end
# end
#