diff options
author | francis <francis> | 2008-02-22 01:58:36 +0000 |
---|---|---|
committer | francis <francis> | 2008-02-22 01:58:36 +0000 |
commit | 712200c7531958860e9a85ff812d1aea29d2fe77 (patch) | |
tree | 8c8c58657679eca7d0fb9d392cfea3638c1ece92 /app/models/user.rb | |
parent | 6c8f0e9b5780b31ada206ec29a27d9ad7af0f226 (diff) |
When a response is overdue, email the request creator to tell them so they can send a followup.
Diffstat (limited to 'app/models/user.rb')
-rw-r--r-- | app/models/user.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/models/user.rb b/app/models/user.rb index b7897bcba..1fa71dffb 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -19,7 +19,7 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: user.rb,v 1.27 2008-02-21 20:45:51 francis Exp $ +# $Id: user.rb,v 1.28 2008-02-22 01:58:36 francis Exp $ require 'digest/sha1' @@ -31,6 +31,7 @@ class User < ActiveRecord::Base validates_presence_of :hashed_password, :message => "^Please enter a password" has_many :info_requests + has_many :user_info_request_sent_alerts attr_accessor :password_confirmation validates_confirmation_of :password, :message =>"^Please enter the same password twice" |