<commit_before>module ActsAsRelatingTo
  class Relationship < ActiveRecord::Base
		# ==========================================================================
		#  Validations
		# ==========================================================================
			validates :owner_id,     							presence: true
			validates :owner_type,   							presence: true
			validates :in_relation_to_id,   			presence: true
			validates :in_relation_to_type, 			presence: true
			
		# ==========================================================================
		#  Associations
		# ==========================================================================
			belongs_to  :owner,	polymorphic: true
			belongs_to  :in_relation_to,    	polymorphic: true
		
		# ==========================================================================
		#  ActsAs Modules
		# ==========================================================================
  	acts_as_taggable
  	acts_as_taggable_on :roles
  	
  end
end<commit_msg>US208 passed<commit_after>module ActsAsRelatingTo
  class Relationship < ActiveRecord::Base
		# ==========================================================================
		#  Validations
		# ==========================================================================
			validates :owner,     							presence: true
			validates :in_relation_to,   				presence: true
			
		# ==========================================================================
		#  Associations
		# ==========================================================================
			belongs_to  :owner,								polymorphic: true
			belongs_to  :in_relation_to,    	polymorphic: true
		
		# ==========================================================================
		#  ActsAs Modules
		# ==========================================================================
      acts_as_taggable
      acts_as_taggable_on :roles
  	
  end
end
{'fraction_non_alphanumeric': 0.5026455026455027, 'fraction_numerical': 0.0015873015873015873, 'mean_word_length': 5.658450704225352, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '1451649', 'n_tokens_mistral': 541, 'n_tokens_neox': 396, 'n_words': 68}