Flowdock
method

validate_file_name!

Importance_0
v4.0.2 - Show latest stable - 0 notes - Class: ActiveRecord::Generators::MigrationGenerator
validate_file_name!() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/rails/generators/active_record/migration/migration_generator.rb, line 55
        def validate_file_name!
          unless file_name =~ /^[_a-z0-9]+$/
            raise IllegalMigrationNameError.new(file_name)
          end
        end
Register or log in to add new notes.