aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models
diff options
context:
space:
mode:
authorPiotr Sarnacki <drogus@gmail.com>2011-12-09 20:07:29 +0100
committerPiotr Sarnacki <drogus@gmail.com>2011-12-09 21:43:36 +0100
commitf0b782d060f76647e36adc40fe5fe818ec8e2c66 (patch)
treedaaa633c3b8d17eaa84a7418379f76d1762eed2b /activerecord/test/models
parentab30570b69e6118bbfbd8dfaa7577668b34e5eaf (diff)
downloadrails-f0b782d060f76647e36adc40fe5fe818ec8e2c66.tar.gz
rails-f0b782d060f76647e36adc40fe5fe818ec8e2c66.tar.bz2
rails-f0b782d060f76647e36adc40fe5fe818ec8e2c66.zip
Allow to filter migrations by passing a block
Example: ActiveRecord::Migrator.migrate(path) do |migration| migration.name =~ /User/ end The above example will migrate only migrations with User in the name
Diffstat (limited to 'activerecord/test/models')
0 files changed, 0 insertions, 0 deletions