just seed family and work
This commit is contained in:
parent
7ed00424c9
commit
cd21ee8652
1 changed files with 1 additions and 3 deletions
|
|
@ -230,8 +230,7 @@ class User
|
||||||
|
|
||||||
Rails.logger.info( "the person id is #{object.post_id} the friend found is #{visible_person_by_id(object.post_id).inspect}")
|
Rails.logger.info( "the person id is #{object.post_id} the friend found is #{visible_person_by_id(object.post_id).inspect}")
|
||||||
unfriended_by visible_person_by_id(object.post_id)
|
unfriended_by visible_person_by_id(object.post_id)
|
||||||
|
else
|
||||||
else
|
|
||||||
object.perform self.id
|
object.perform self.id
|
||||||
aspects = self.aspects_with_person(object.person)
|
aspects = self.aspects_with_person(object.person)
|
||||||
aspects.each{ |aspect| aspect.post_ids.delete(object.post_id.to_id)
|
aspects.each{ |aspect| aspect.post_ids.delete(object.post_id.to_id)
|
||||||
|
|
@ -307,7 +306,6 @@ class User
|
||||||
end
|
end
|
||||||
|
|
||||||
def seed_aspects
|
def seed_aspects
|
||||||
aspect(:name => "Acquaintances")
|
|
||||||
aspect(:name => "Family")
|
aspect(:name => "Family")
|
||||||
aspect(:name => "Work")
|
aspect(:name => "Work")
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue