Skip to content

Commit

Permalink
Document IrreversibleMigration.
Browse files Browse the repository at this point in the history
  • Loading branch information
radar committed Sep 1, 2009
1 parent bae00bb commit acd5395
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion 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:
Expand Down

0 comments on commit acd5395

Please sign in to comment.