Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Keep repeating the same day, er transaction.

branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE
Octocat-spinner-32 groundhog.gemspec

Groundhog Day

Okay, campers, rise and shine...

A nice, little loop for rails console to keep your destructive changes in a transaction.

Get it

gem install groundhog

Or add gem 'groundhog' to your Gemfile.

Use it

  1. In a console, type to start the loop.
  2. Go nuts! There are literally no consequences to your actions.
  3. Press ^D to end it all and wake up in your comfy bed.
  4. Quickly press ^D ^C to get out of Punxsutawney and back to your normal life.
Something went wrong with that request. Please try again.