Exception: ActiveRecord::IllegalMigrationNameError

Inherits:
ActiveRecordError show all
Defined in:
activerecord/lib/active_record/migration.rb

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ IllegalMigrationNameError

Returns a new instance of IllegalMigrationNameError.



30
31
32
# File 'activerecord/lib/active_record/migration.rb', line 30

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