<commit_before>class FacebookSuggestReminder
  #sent a day later to remind person to check facebook
  @queue = :facebook_queue

  def self.perform(user_id)
    user = User.find(user_id)

    if user.facebook && user.ios_notification_token #&& !user.user_settings.facebook_friend_check
      #only send if we have facebook, an ios_notification token, and hasn't done the friend check

      friends_json = $redis.smembers("facebook_friends_#{user.id}")
      tally = friends_json.count
      puts tally
      if tally > 2
        RESQUE_LOGGER.info "#{Time.now.strftime('%Y-%m-%d %H:%M:%S')} - #{user.username} notified of  #{tally-1} facebook friends on placeling"
        Resque.enqueue(SendNotifications, user_id, "You have #{tally-1} Facebook friends on Placeling, check them out!", "placeling://facebookfriends")
      end
    end

  end

end<commit_msg>get rid of teh puts<commit_after>class FacebookSuggestReminder
  #sent a day later to remind person to check facebook
  @queue = :facebook_queue

  def self.perform(user_id)
    user = User.find(user_id)

    if user.facebook && user.ios_notification_token #&& !user.user_settings.facebook_friend_check
      #only send if we have facebook, an ios_notification token, and hasn't done the friend check

      friends_json = $redis.smembers("facebook_friends_#{user.id}")
      tally = friends_json.count

      if tally > 2
        RESQUE_LOGGER.info "#{Time.now.strftime('%Y-%m-%d %H:%M:%S')} - #{user.username} notified of  #{tally-1} facebook friends on placeling"
        Resque.enqueue(SendNotifications, user_id, "You have #{tally-1} Facebook friends on Placeling, check them out!", "placeling://facebookfriends")
      end
    end

  end

end
{'fraction_non_alphanumeric': 0.10785463071512309, 'fraction_numerical': 0.0035169988276670576, 'mean_word_length': 3.7681564245810057, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4541267', 'n_tokens_mistral': 558, 'n_tokens_neox': 534, 'n_words': 149}