Exception: ActiveRecord::IllegalMigrationNameError
- Inherits:
 - 
      MigrationError
      
        
- Object
 - StandardError
 - ActiveRecordError
 - MigrationError
 - ActiveRecord::IllegalMigrationNameError
 
 
- Defined in:
 - lib/active_record/migration.rb
 
Overview
:nodoc:
Instance Method Summary collapse
- 
  
    
      #initialize(name = nil)  ⇒ IllegalMigrationNameError 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of IllegalMigrationNameError.
 
Constructor Details
#initialize(name = nil) ⇒ IllegalMigrationNameError
Returns a new instance of IllegalMigrationNameError.
      122 123 124 125 126 127 128  | 
    
      # File '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  |