Dead simple notification when people do things on your site
Add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install holy_cow
Configuration can happen anywhere,
config/initializers/holy_cow.rb seem like reasonable places.
HolyCow.recipient "email@example.com" HolyCow.recipients "firstname.lastname@example.org", "email@example.com"
Just call holy_cow with a subject line and you'll get an e-mail. You can pass extra parameters and they'll be included as well. Go nuts!
holy_cow "somebody actually clicked that button!" holy_cow "a user changed their avatar", current_user holy_cow "the database is down", ex.message
HolyCow uses action_mailer, so it will use whatever e-mail sending you have configured or try and use sendmail/local delivery if you don't have anything set up.
- Fork it ( https://github.com/tenforwardconsulting/holy_cow )
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Add some feature')
- Push to the branch (
git push origin my-new-feature)
- Create new Pull Request