Commit 13506f04b111ee3f42a9246acf29b0e736f3d49a
1 parent
e5bd8410
Exists in
master
and in
22 other branches
ActionItem8: minor docu fix
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@29 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
app/models/profile.rb
| ... | ... | @@ -10,7 +10,8 @@ class Profile < ActiveRecord::Base |
| 10 | 10 | validates_format_of :identifier, :with => /^[a-z][a-z0-9_]+[a-z0-9]$/ |
| 11 | 11 | |
| 12 | 12 | # creates a new Profile. By default, it is attached to the default |
| 13 | - # VirtualCommunity (see VirtualCommunity#default) | |
| 13 | + # VirtualCommunity (see VirtualCommunity#default), unless you tell it | |
| 14 | + # otherwise | |
| 14 | 15 | def initialize(*args) |
| 15 | 16 | super(*args) |
| 16 | 17 | self.virtual_community ||= VirtualCommunity.default | ... | ... |