From e0003411538c643c258f564c8eae8084507aff1d Mon Sep 17 00:00:00 2001 From: AntonioTerceiro Date: Fri, 9 Nov 2007 19:01:19 +0000 Subject: [PATCH] ActionItem16: an user can have more than one profile --- app/models/profile.rb | 4 ---- 1 file changed, 0 insertions(+), 4 deletions(-) diff --git a/app/models/profile.rb b/app/models/profile.rb index f55e406..be6a34a 100644 --- a/app/models/profile.rb +++ b/app/models/profile.rb @@ -71,10 +71,6 @@ class Profile < ActiveRecord::Base validates_exclusion_of :identifier, :in => RESERVED_IDENTIFIERS validates_uniqueness_of :identifier - # A profile_owner cannot have more than one profile, but many profiles can exist - # without being associated to a particular user. - validates_uniqueness_of :user_id, :allow_nil =>true - # creates a new Profile. By default, it is attached to the default # Environment (see Environment#default), unless you tell it # otherwise -- libgit2 0.21.2