method
up
up(migrations_paths, target_version = nil)
public
Hide source
# File activerecord/lib/active_record/migration.rb, line 816 def up(migrations_paths, target_version = nil) migrations = migrations(migrations_paths) migrations.select! { |m| yield m } if block_given? new(:up, migrations, target_version).migrate end