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