<commit_before>class DatabaseMemosController < ApplicationController
  permits :description

  before_action :redirect_named_path, only: :show

  def index
    redirect_to root_path
  end

  def show(id)
    @database_memo = DatabaseMemo.where(name: id).includes(schema_memos: { table_memos: :column_memos }).take!
  end

  def edit(id)
    @database_memo = DatabaseMemo.find(id)
  end<commit_msg>Remove :column_memos argument for DatabaseMemo#include because it was not necessary and would degrade performance<commit_after>class DatabaseMemosController < ApplicationController
  permits :description

  before_action :redirect_named_path, only: :show

  def index
    redirect_to root_path
  end

  def show(id)
    @database_memo = DatabaseMemo.where(name: id).includes(schema_memos: :table_memos ).take!
  end

  def edit(id)
    @database_memo = DatabaseMemo.find(id)
  end
{'fraction_non_alphanumeric': 0.07639680729760548, 'fraction_numerical': 0.0, 'mean_word_length': 5.013698630136986, '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': '3738356', 'n_tokens_mistral': 281, 'n_tokens_neox': 271, 'n_words': 67}