Flowdock
method

validate_file_name!

Importance_0
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 59
        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.