Hello Rubyists!
We've received a large amount of questions about how to purge and/or recreate a db using migrations.
In this video, we cover these 2 topics and show you how to extend the rake :db namespace to add custom tasks!
Source code: https://gist.github.com/mehdi-farsi/4732a0f01cae64235273f06eea464c11
Don't miss out on exclusive coding tips and tricks! Hit that subscribe button now and join the journey to become a coding master! 🙏 💚 😊
We're also available on:
- Twitter: https://www.twitter.com/RubyCademy
- Medium: https://www.medium.com/@rubycademy
- Reddit: https://www.reddit.com/r/rubycademy
- Tiktok: https://www.tiktok.com/@rubycademy