Exception: Mongoid::IllegalMigrationNameError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Mongoid::IllegalMigrationNameError
- Defined in:
- lib/mongoid_rails_migrations/active_record_ext/migrations.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.
27 28 29 |
# File 'lib/mongoid_rails_migrations/active_record_ext/migrations.rb', line 27 def initialize(name) super("Illegal name for migration file: #{name}\n\t(only lower case letters, numbers, and '_' allowed)") end |