diff --git a/app/models/person.rb b/app/models/person.rb index 4fa188302..3d5cba140 100644 --- a/app/models/person.rb +++ b/app/models/person.rb @@ -26,9 +26,9 @@ class Person < ActiveRecord::Base diaspora_handle.downcase! unless diaspora_handle.blank? end - has_many :contacts, :dependent => :destroy #Other people's contacts for this person - has_many :posts, :foreign_key => :author_id, :dependent => :destroy #his own posts - has_many :comments, :foreign_key => :author_id, :dependent => :destroy #his own comments + has_many :contacts, :dependent => :destroy # Other people's contacts for this person + has_many :posts, :foreign_key => :author_id, :dependent => :destroy # This person's own posts + has_many :comments, :foreign_key => :author_id, :dependent => :destroy # This person's own comments belongs_to :owner, :class_name => 'User'