I hereby claim:
- I am adamjt on github.
- I am adamjt (https://keybase.io/adamjt) on keybase.
- I have a public key whose fingerprint is 57A7 B36E BD4C 6718 FF4C B937 2E77 28EB AD2E 7556
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
require 'pushover' | |
PUSHOVER_CHARACTER_LIMIT = 512 | |
Pushover.configure do |config| | |
config.user = 'xxxxx' | |
config.token = 'xxxxx' | |
end | |
Autotest.add_hook :initialize do |autotest| |
# polling interval (in seconds) | |
set daemon 60 | |
set logfile <%= your_path %>/log/monit.log | |
set pidfile <%= your_path %>/tmp/pids/monit.pid | |
set statefile <%= your_path %>/tmp/monit/monit.state | |
set mailserver localhost | |
set mail-format { from: [email protected] } | |
set alert [email protected] |
class Kitchen < ActiveRecord::Base | |
has_many :cups | |
end | |
class Cup < ActiveRecord::Base | |
has_many :liquids | |
belongs_to :kitchen | |
end | |
class Liquid < ActiveRecord::Base |