<commit_before># == Schema Information
#
# Table name: technologies
#
#  id         :integer          not null, primary key
#  name       :string
#  website    :string
#  created_at :datetime         not null
#  updated_at :datetime         not null
#  image_id   :string
#

class Technology < ActiveRecord::Base
  has_and_belongs_to_many :projects,
                          join_table: :project_technologies,
                          class_name: Project.name
  has_many :skilled_people, class_name: PersonTechnology.name
  has_many :activities, -> { order(created_at: :desc) }, as: :activity_owner

  validates :name, presence: true
  
  attachment :image
end<commit_msg>Fixing code offense<commit_after># == Schema Information
#
# Table name: technologies
#
#  id         :integer          not null, primary key
#  name       :string
#  website    :string
#  created_at :datetime         not null
#  updated_at :datetime         not null
#  image_id   :string
#

class Technology < ActiveRecord::Base
  has_and_belongs_to_many :projects,
                          join_table: :project_technologies,
                          class_name: Project.name
  has_many :skilled_people, class_name: PersonTechnology.name
  has_many :activities, -> { order(created_at: :desc) }, as: :activity_owner

  validates :name, presence: true

  attachment :image
end
{'fraction_non_alphanumeric': 0.08136094674556213, 'fraction_numerical': 0.0, 'mean_word_length': 2.6273458445040214, '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': '2848871', 'n_tokens_mistral': 397, 'n_tokens_neox': 391, 'n_words': 105}