<commit_before>install_file "better_form.js", :to => "public/javascripts/better_form.js"
install_file "better_form_initializer.rb", :to => "config/initializers/better_form.rb"
install_file "style.css", :to => "public/stylesheets/better_form.css"

def install_file(file, options = {})
	puts "Generating #{options[:to]}"
	FileUtils.copy("vendor/plugins/better_form/lib/installed_files/#{file}", "#{RAILS_ROOT}/#{options[:to]}")
end
<commit_msg>Made source path relative to RAILS_ROOT in install.rb<commit_after>install_file "better_form.js", :to => "public/javascripts/better_form.js"
install_file "better_form_initializer.rb", :to => "config/initializers/better_form.rb"
install_file "style.css", :to => "public/stylesheets/better_form.css"

def install_file(file, options = {})
	puts "Generating #{options[:to]}"
	FileUtils.copy("#{RAILS_ROOT}/vendor/plugins/better_form/lib/installed_files/#{file}", "#{RAILS_ROOT}/#{options[:to]}")
end

{'fraction_non_alphanumeric': 0.17377398720682302, 'fraction_numerical': 0.0, 'mean_word_length': 7.8584905660377355, 'pattern_counts': {'":': 0, '<': 3, '<?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': '441433', 'n_tokens_mistral': 342, 'n_tokens_neox': 328, 'n_words': 49}