rails run a script in migration code example Example: run a specific migration rails rake db:migrate:up VERSION=20090408054532