<commit_before>class WebHook < ActiveRecord::Base
  belongs_to :user
  belongs_to :rubygem

  scope :global, :conditions => {:rubygem_id => nil}
  scope :specific, :conditions => "rubygem_id is not null"

  GLOBAL_PATTERN = '*'
<commit_msg>Change AR 3.0 query syntax for WebHook<commit_after>class WebHook < ActiveRecord::Base
  belongs_to :user
  belongs_to :rubygem

  scope :global, where(:rubygem_id => nil)
  scope :specific, where("rubygem_id is not null")

  GLOBAL_PATTERN = '*'

{'fraction_non_alphanumeric': 0.11293634496919917, 'fraction_numerical': 0.004106776180698152, 'mean_word_length': 5.1, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '4501805', 'n_tokens_mistral': 176, 'n_tokens_neox': 169, 'n_words': 44}