<commit_before>class UserSerializer < ActiveModel::Serializer
  has_many :notes
  
  attributes :id
  attributes :username
  attributes :email
end<commit_msg>rails_json_api: add a code of meta<commit_after>class UserSerializer < ActiveModel::Serializer
  has_many :notes do
    meta do
      { aa: 1 }
    end
  end
  
  attributes :id
  attributes :username
  attributes :email

  meta do
    { aa: 1 }
  end
end
{'fraction_non_alphanumeric': 0.06537530266343826, 'fraction_numerical': 0.004842615012106538, 'mean_word_length': 3.4516129032258065, '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': '2644964', 'n_tokens_mistral': 133, 'n_tokens_neox': 126, 'n_words': 40}