diff options
author | francis <francis> | 2007-09-11 15:26:11 +0000 |
---|---|---|
committer | francis <francis> | 2007-09-11 15:26:11 +0000 |
commit | 110e3892264a136fb2ee0e4d11bede15ddaca4f3 (patch) | |
tree | 24879613a4a54247e9bd8797052715ea515b6c76 /app/models/user.rb | |
parent | 5f27823f513d12cb798b8b0b2c7cb603aa07ed62 (diff) |
Fix up some broken constraints.
Diffstat (limited to 'app/models/user.rb')
-rw-r--r-- | app/models/user.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/user.rb b/app/models/user.rb index adf2d1592..75397b33b 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -4,7 +4,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.4 2007-09-11 15:23:59 francis Exp $ +# $Id: user.rb,v 1.5 2007-09-11 15:26:12 francis Exp $ require 'digest/sha1' @@ -14,7 +14,7 @@ class User < ActiveRecord::Base validates_presence_of :name - has_many :user + has_many :info_request attr_accessor :password_confirmation validates_confirmation_of :password |