Run the following command
rake db:migrate:down VERSION=<version>
where <version>
is the version number of your migration file you want to revert.
eg. if you want to revert a migration with file name 3846656238_create_users.rb
rake db:migrate:down VERSION=3846656238