<commit_before># Define a subclass of Ramaze::Controller holding your defaults for all
# controllers

module ApplicationName
  class Controller < Ramaze::Controller
    layout :default
    helper :xhtml
    engine :Etanni
    provide( :json, :type => 'application/json' ) { |action, value| value.to_json }
  end
end

# Here go your requires for subclasses of Controller:
require __DIR__( 'main' )<commit_msg>Specify User model explicitly for User helper.<commit_after># Define a subclass of Ramaze::Controller holding your defaults for all
# controllers

module ApplicationName
  class Controller < Ramaze::Controller
    layout :default
    helper :xhtml
    engine :Etanni
    provide( :json, :type => 'application/json' ) { |action, value| value.to_json }

    trait :user_model => Models::User
  end
end

# Here go your requires for subclasses of Controller:
require __DIR__( 'main' )
{'fraction_non_alphanumeric': 0.08558558558558559, 'fraction_numerical': 0.0, 'mean_word_length': 4.387878787878788, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 6, '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': '464213', 'n_tokens_mistral': 249, 'n_tokens_neox': 239, 'n_words': 95}