Exception: ActiveRecord::IllegalMigrationNameError
Do not use. This class is for internal use only.
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
MigrationError ,
ActiveRecordError ,
StandardError
|
|
Instance Chain:
self,
MigrationError ,
ActiveRecordError ,
StandardError
|
|
Inherits: |
ActiveRecord::MigrationError
|
Defined in: | activerecord/lib/active_record/migration.rb |
Class Method Summary
Constructor Details
.new(name = nil) ⇒ IllegalMigrationNameError
# File 'activerecord/lib/active_record/migration.rb', line 122
def initialize(name = nil) if name super("Illegal name for migration file: #{name}\n\t(only lower case letters, numbers, and '_' allowed).") else super("Illegal name for migration.") end end