<commit_before># Create new Paperclip::Interpolations method for subtype class
module Paperclip::Interpolations #:nodoc:
  def subtype_class attachment, style_name
    attachment.instance.actor!.subject_type.to_s.underscore
  end
end<commit_msg>Revert "Fix paperclip interpolation in subjects without actor"<commit_after># Create new Paperclip::Interpolations method for subtype class
module Paperclip::Interpolations #:nodoc:
  def subtype_class attachment, style_name
    attachment.instance.actor.subject_type.to_s.underscore
  end
end
{'fraction_non_alphanumeric': 0.0687732342007435, 'fraction_numerical': 0.0, 'mean_word_length': 6.926470588235294, 'pattern_counts': {'":': 0, '<': 3, '<?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': '3812628', 'n_tokens_mistral': 157, 'n_tokens_neox': 148, 'n_words': 42}