diff options
author | Patrick J Cherry <patrick@bytemark.co.uk> | 2011-08-22 12:01:17 +0100 |
---|---|---|
committer | Patrick J Cherry <patrick@bytemark.co.uk> | 2011-08-22 12:01:17 +0100 |
commit | da9ef07cfa2dfd26d1e8efdce5598a7ac7806271 (patch) | |
tree | f574227852d475ef772a86366eb8a3c50da1ab1a /lib/mauve/alert_changed.rb | |
parent | 8268305f172376b92957096a2154efe34e275b6a (diff) |
* Race condition fixed (fixes #1861).
* Reminders get sent at start of during period (fixes #1821)
Diffstat (limited to 'lib/mauve/alert_changed.rb')
-rw-r--r-- | lib/mauve/alert_changed.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/mauve/alert_changed.rb b/lib/mauve/alert_changed.rb index 83332ff..ac864a0 100644 --- a/lib/mauve/alert_changed.rb +++ b/lib/mauve/alert_changed.rb @@ -19,12 +19,10 @@ module Mauve property :remind_at, Time # property :updated_at, Time, :required => true - def inspect + def to_s "#<AlertChanged #{id}: alert_id #{alert_id}, for #{person}, update_type #{update_type}>" end - alias to_s inspect - belongs_to :alert def was_relevant=(value) |