<commit_before>module FwtPushNotificationServer
  
  class DeviceToken < ActiveRecord::Base
  
  	validates_uniqueness_of :token
    validates_presence_of :token
    validates_presence_of :provider

  	def user
  		user_id.blank? ? nil : FwtPushNotificationServer.user_class.find_or_create_by(FwtPushNotificationServer.user_key => user_id)
  	end

  	def notifier
  		return nil if provider.nil?
		  FwtPushNotificationServer.notifiers[provider.to_sym]
    end

  end

end<commit_msg>Remove unneeded notifier method from DeviceToken<commit_after>module FwtPushNotificationServer
  
  class DeviceToken < ActiveRecord::Base
  
  	validates_uniqueness_of :token
    validates_presence_of :token
    validates_presence_of :provider

  	def user
  		user_id.blank? ? nil : FwtPushNotificationServer.user_class.find_or_create_by(FwtPushNotificationServer.user_key => user_id)
  	end

  end

end
{'fraction_non_alphanumeric': 0.05174353205849269, 'fraction_numerical': 0.0, 'mean_word_length': 4.741935483870968, 'pattern_counts': {'":': 0, '<': 5, '<?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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3513900', 'n_tokens_mistral': 300, 'n_tokens_neox': 291, 'n_words': 52}