diff options
author | francis <francis> | 2009-08-27 15:41:54 +0000 |
---|---|---|
committer | francis <francis> | 2009-08-27 15:41:54 +0000 |
commit | 5c153aa3bb8d6806779907d65382df0edd363c2d (patch) | |
tree | cc8dbc14fe5f835ad978d8c0f36f876ebc583e88 | |
parent | 10896b7b9881fb084fe92f8b19908fa261dee820 (diff) |
Don't really need to validate url_name, just gives bogus errors.
-rw-r--r-- | app/models/user.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/models/user.rb b/app/models/user.rb index 7bb5118ac..663f6d4f5 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -23,7 +23,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.98 2009-08-05 16:31:11 francis Exp $ +# $Id: user.rb,v 1.99 2009-08-27 15:41:54 francis Exp $ require 'digest/sha1' @@ -33,7 +33,6 @@ class User < ActiveRecord::Base validates_presence_of :email, :message => "^Please enter your email address" validates_presence_of :name, :message => "^Please enter your name" - validates_presence_of :url_name validates_presence_of :hashed_password, :message => "^Please enter a password" |