lib/nelumba-mongodb/person.rb
def unfollowed_by!(author)
      if author.is_a? Nelumba::Identity
        author = author.person
      end

      return if author.nil?

      # remove them from our list
      self.followers_ids.delete(author.id)
      self.save

      # remove their feed as a syndicate of our activities
      self.activities.unfollowed_by! author.identity.inbox
    end
# Updates to show we are not followed by the given Person.
Updates to show we are not followed by the given Person.
Updates to show we are not followed by the given Person .
def unfollowed_by!(author)
      if author.is_a? Nelumba::Identity
        author = author.person
      end
      return if author.nil?
      self.followers_ids.delete(author.id)
      self.save
      self.activities.unfollowed_by! author.identity.inbox
    end
def unfollowed_by! ( author ) if author . is_a? Nelumba :: Identity author = author . person end return if author . nil? self . followers_ids . delete ( author . id ) self . save self . activities . unfollowed_by! author . identity . inbox end
Updates to show we are not followed by the given Person.
Updates to show we are not followed by the given Person .
# remove them from our list # remove their feed as a syndicate of our activities
author