Patrickmnts/FlowFree — pull request #30 by studiostark (2013-08-14 02:45:26+00:00)
Title: Background tasks and actionmailer notifications

Some major changes here.

1. Whenever + delayed_jobs combo that kicks have the background.rb service object every 12 hours.
2. The background.rb service object kicks as an api.fetch and then starts the notification process.
3. There is now a notification service object that will notify users if any thresholds they have setup are passed.
3a. Note: to send real email, you'll need an smtp server available.
4. Turned off writing of time-series data since it's not currently being used. Without it, we can fit onto a free instance from heroku. Just uncomment to turn back on.