module Rails::Generators::Migration::ClassMethods

def migration_exists?(dirname, file_name) #:nodoc:

:nodoc:
def migration_exists?(dirname, file_name) #:nodoc:
  migration_lookup_at(dirname).grep(/\d+_#{file_name}.rb$/).first
end