I am creating an app and had my layouts up and running nicely. I ended up adding another migration scaffold for this geocode deal.
After getting errors, I found out that I need to add the rails g nifty:layout to fix the issue. This fixed my issue but my checklist main layout in the application.rb file was lifted to the location section of my app and was causing tables to overlap themselves.
I wanted to delete the generated scaffolds and ran rails g nifty:layout. I ran rails d nifty:layout to delete it to try and find another way and it deleted my whole views/applications.html.rb file.
Now my whole checklist app is messed up. How do I get that back or reverse what I did to get my layout back? I hope this makes sense. please help! I have it saved on bitbucket but not the most recent commit.