<commit_before>class JwtToken < ActiveRecord::Base
  <% if database_name.present? %>
  databases = YAML::load(IO.read('config/database_<%= database_name %>.yml'))
  establish_connection databases[Rails.env]
  <% end %>

  has_many :jwt_users, dependent: :destroy
end<commit_msg>Add attr_accessible for JwtToken fields.<commit_after>class JwtToken < ActiveRecord::Base
  <% if database_name.present? %>
  databases = YAML::load(IO.read('config/database_<%= database_name %>.yml'))
  establish_connection databases[Rails.env]
  <% end %>

  has_many :jwt_users, dependent: :destroy

  attr_accessible :addon_key, :client_key, :shared_secret, :product_type
end

{'fraction_non_alphanumeric': 0.1337386018237082, 'fraction_numerical': 0.0, 'mean_word_length': 6.241758241758242, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 9, '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': '4264343', 'n_tokens_mistral': 234, 'n_tokens_neox': 212, 'n_words': 42}