Exception: MongoidMigration::IllegalMigrationNameError

Inherits:
MongoidMigrationError show all
Defined in:
lib/mongoid_migration/migration.rb

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ IllegalMigrationNameError

Returns a new instance of IllegalMigrationNameError.



33
34
35
# File 'lib/mongoid_migration/migration.rb', line 33

def initialize(name)
  super("Illegal name for migration file: #{name}\n\t(only lower case letters, numbers, and '_' allowed)")
end