Undo scaffolding in Rails?
Is there any way to 'undo' the effects of a scaffold command in Rails?
1 Expert Answer
Ruby On Rails/React Developer
Yes! You can use the command
rails destroy scaffold your_model_name
If I did :
rails generate scaffold posts
I can do:
rails destroy scaffold posts
Still looking for help? Get the right answer, fast.
Find an Online Tutor Now
Choose an expert and meet online.
No packages or subscriptions, pay only for the time you need.