<commit_before>class Follow < ActiveRecord::Base
  attr_accessible :followed_id, :follower_id
  belongs_to :follower, class_name: "Member"
  belongs_to :followed, class_name: "Member"
  validates :follower_id, uniqueness: { :scope => :followed_id }

  after_create do
    Notification.create(
      :recipient_id => self.followed_id,
      :sender_id => self.follower_id,
      :subject => "#{self.follower.login_name} has followed you",
      :body => "#{self.follower.login_name} has followed you"
    )
  end


end<commit_msg>Slight modification to the notification wording.<commit_after>class Follow < ActiveRecord::Base
  attr_accessible :followed_id, :follower_id
  belongs_to :follower, class_name: "Member"
  belongs_to :followed, class_name: "Member"
  validates :follower_id, uniqueness: { :scope => :followed_id }

  after_create do
    Notification.create(
      :recipient_id => self.followed_id,
      :sender_id => self.follower_id,
      :subject => "#{self.follower.login_name} is now following you",
      :body => "#{self.follower.login_name} just followed you on Growstuff. "
    )
  end


end
{'fraction_non_alphanumeric': 0.11320754716981132, 'fraction_numerical': 0.0, 'mean_word_length': 4.254716981132075, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 13, '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': '2316260', 'n_tokens_mistral': 388, 'n_tokens_neox': 365, 'n_words': 83}