This week we will be adding some power and beauty to our "mint" application through database relations and a nice frontend cleanup with validations and flash messages
If you've messed up your mint application you can download and replace your entire application with the one in class repo https://gitlab.com/img240/mint just find the download button (the icon is in the right hand side and looks like a little cloud with a down arrow).
Unzip the package and it should create a directory called mint-master
, copy/replace all the directory contents into your mint directory (Important! omit the .git
directory though since that will have a reference to the class repo and won't allow you to push properly) Also (Important! this will replace your database.yml so if you aren't using Docker you might want to omit the config/database.yml
file as well)