method
validate_file_name!
v6.1.3.1 -
Show latest stable
- Class:
ActiveRecord::Generators::MigrationGenerator
validate_file_name!()private
A migration file name can only contain underscores (_), lowercase characters, and numbers 0-9. Any other file name will raise an IllegalMigrationNameError.