Exception: ActiveRecord::IllegalMigrationNameError
- Inherits:
-
ActiveRecordError
- Object
- StandardError
- ActiveRecordError
- ActiveRecord::IllegalMigrationNameError
- Defined in:
- lib/gems/activerecord-2.2.2/lib/active_record/migration.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#initialize(name) ⇒ IllegalMigrationNameError
constructor
A new instance of IllegalMigrationNameError.
Constructor Details
#initialize(name) ⇒ IllegalMigrationNameError
Returns a new instance of IllegalMigrationNameError.
24 25 26 |
# File 'lib/gems/activerecord-2.2.2/lib/active_record/migration.rb', line 24 def initialize(name) super("Illegal name for migration file: #{name}\n\t(only lower case letters, numbers, and '_' allowed)") end |