andypike/lagtv — pull request #238 by khall (2012-11-29 23:45:02+00:00)
Title: Issue 125

Fixes https://github.com/andypike/lagtv/issues/125 by adding whenever gem (which will need to have "whenever --update-crontab" run on the server) along with a Stream model that contains two rows. Please note that the code that gets run by whenever will complain about a minitest error in test and development environments (spawning from shoulda including it), but obviously that won't happen in production because shoulda isn't included. In either case the error happens on exit of rails, so the only downside is a cluttered mailbox on the running user.