Answers for "reset rails command"

0

why do i ineed to reset rails server

# add the following line in config/environments/development.rb file 

config.reload_classes_only_on_change = false
Posted by: Guest on June-13-2021
0

how to reset migrations rails

To rollback all migrations the best solution is:

rake db:migrate VERSION=0
This will rollback any migrations without losing data. Then, run all migrations again with

rake db:migrate
Posted by: Guest on February-17-2020

Browse Popular Code Answers by Language