From 9b2ea172d72563c677e40156ba53aaaef6ed2294 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Wed, 26 Oct 2005 13:29:11 +0000 Subject: Add exception to example (closes #2315) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2752 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activerecord/lib/active_record/migration.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'activerecord/lib/active_record') 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 # -- cgit v1.2.3