<commit_before>ActiveAdmin.register Home do
  menu parent: I18n.t('admin_menu.posts')

  permit_params :id,
                :type,
                :online,
                :user_id,
                translations_attributes: [
                  :id, :locale, :title, :slug, :content
                ],
                pictures_attributes: [
                  :id, :locale, :image, :online, :position, :_destroy<commit_msg>Fix bug with two unauthorized parameters in AA Home resource<commit_after>ActiveAdmin.register Home do
  menu parent: I18n.t('admin_menu.posts')

  permit_params :id,
                :type,
                :show_as_gallery,
                :allow_comments,
                :online,
                :user_id,
                translations_attributes: [
                  :id, :locale, :title, :slug, :content
                ],
                pictures_attributes: [
                  :id, :locale, :image, :online, :position, :_destroy
{'fraction_non_alphanumeric': 0.09853249475890985, 'fraction_numerical': 0.0041928721174004195, 'mean_word_length': 1.5398936170212767, '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': '1514556', 'n_tokens_mistral': 270, 'n_tokens_neox': 251, 'n_words': 58}