Okay, campers, rise and shine...
A nice, little loop for rails console to keep your destructive changes in a transaction.
gem install groundhog
gem 'groundhog' to your Gemfile.
- In a console, type
Groundhog.dayto start the loop.
- Go nuts! There are literally no consequences to your actions.
^Dto end it all and wake up in your comfy bed.
- Quickly press
^D ^Cto get out of Punxsutawney and back to your normal life.