remove trailing white-spaces from app/models/user.rb

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8296 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-12-19 04:41:13 +00:00
parent 3ce595b806
commit 16e8818d9e
1 changed files with 1 additions and 1 deletions

View File

@ -622,7 +622,7 @@ end
class AnonymousUser < User
validate :validate_anonymous_uniqueness, :on => :create
def validate_anonymous_uniqueness
# There should be only one AnonymousUser in the database
errors.add :base, 'An anonymous user already exists.' if AnonymousUser.find(:first)