diff --git a/app/models/profile.rb b/app/models/profile.rb index f34b2e5..d74765c 100644 --- a/app/models/profile.rb +++ b/app/models/profile.rb @@ -10,7 +10,8 @@ class Profile < ActiveRecord::Base validates_format_of :identifier, :with => /^[a-z][a-z0-9_]+[a-z0-9]$/ # creates a new Profile. By default, it is attached to the default - # VirtualCommunity (see VirtualCommunity#default) + # VirtualCommunity (see VirtualCommunity#default), unless you tell it + # otherwise def initialize(*args) super(*args) self.virtual_community ||= VirtualCommunity.default -- libgit2 0.21.2