Flowdock
method

parse_migration_filename

Importance_0
v4.2.9 - Show latest stable - 0 notes - Class: ActiveRecord::Migrator
parse_migration_filename(filename) public

No documentation

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

Hide source
# File activerecord/lib/active_record/migration.rb, line 883
      def parse_migration_filename(filename) # :nodoc:
        File.basename(filename).scan(/\A([0-9]+)_([_a-z0-9]*)\.?([_a-z0-9]*)?\.rb\z/).first
      end
Register or log in to add new notes.