[Ruby] First post. What happened while creating the group function

less than 1 minute read

Routing Error
About Routing Error that occurred while creating the group function
In this image, the controller is groups.
スクリーンショット 2020-06-27 17.58.09.png
In the image below, it is groups, but by setting it to groups here, a Routing Error occurred.
スクリーンショット 2020-06-27 17.57.30.png

About migration

For example, when you make a mistake in the migration file with db: migrate like this
スクリーンショット 2020-06-27 18.08.31.png
You can correct it by using db: rollback.
Also, the correction is completed with db: migrate.

With db: rollback, you can only go back one step.

db: rollback STEP = numbers

db: rollback STEP = You can go back to any place by using numbers.