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