vendor/plugins/migration_test_helper/lib/migration_test_helper.rb
#
# executes your migrations
#
#   migrate                # same as rake db:migrate
#
# Options are:
# * :version - version to migrate to (same as VERSION=.. option to rake db:migrate)
# * :verbose - print migration status messages to STDOUT, defaults to false
# 
executes your migrations
migrate                # same as rake db:migrate

Options are:
:version - version to migrate to (same as VERSION=.. option to rake db:migrate)
:verbose - print migration status messages to STDOUT, defaults to false
executes your migrations migrate # same as rake db : migrate Options are : : version - version to migrate to ( same as VERSION = .. option to rake db : migrate ) : verbose - print migration status messages to STDOUT defaults to false
def migrate(opts={})
    old_verbose = ActiveRecord::Migration.verbose
    ActiveRecord::Migration.verbose = opts[:verbose].nil? ? false : opts[:verbose]
    version = opts[:version] ? opts[:version].to_i : nil
    ActiveRecord::Migrator.migrate(MigrationTestHelper.migration_dir, version)
  ensure
    ActiveRecord::Migration.verbose = old_verbose
  end
def migrate ( opts = { } ) old_verbose = ActiveRecord :: Migration . verbose ActiveRecord :: Migration . verbose = opts [ :verbose ] . nil? ? false : opts [ :verbose ] version = opts [ :version ] ? opts [ :version ] . to_i : nil ActiveRecord :: Migrator . migrate ( MigrationTestHelper . migration_dir , version ) ensure ActiveRecord :: Migration . verbose = old_verbose end
executes your migrations
migrate                # same as rake db:migrate
executes your migrations migrate # same as rake db : migrate
opts
<not_specific>