rollback database rails code example Example: rails rollback multiple migrations rake db:rollback STEP=n # n = how many migrations you want to rollback