Permalink
Browse files

Document IrreversibleMigration.

  • Loading branch information...
1 parent bae00bb commit acd5395877c8f322e7f7c43edc8407585c2c8dff @radar radar committed Sep 1, 2009
Showing with 2 additions and 1 deletion.
  1. +2 −1 activerecord/lib/active_record/migration.rb
View
3 activerecord/lib/active_record/migration.rb
@@ -1,7 +1,8 @@
require 'active_support/core_ext/object/metaclass'
module ActiveRecord
- class IrreversibleMigration < ActiveRecordError#:nodoc:
+ # Exception that can be raised to stop migrations from going backwards.
+ class IrreversibleMigration < ActiveRecordError
end
class DuplicateMigrationVersionError < ActiveRecordError#:nodoc:

0 comments on commit acd5395

Please sign in to comment.