<commit_before>class DynamicFormsGenerator < Rails::Generator::Base
  
  def manifest
    record do |m|
      m.migration_template 'migrations/create_dynamic_forms.rb', 'db/migrate', :migration_file_name => "create_dynamic_forms"
    end
  end
  
end<commit_msg>updated the generator to generate the models<commit_after>class DynamicFormsGenerator < Rails::Generator::Base
  
  def manifest
    record do |m|
      m.directory "app/models"
      m.template "models/form.rb", "app/models/form.rb"
      m.template "models/form_field.rb", "app/models/form_field.rb"
      m.template "models/form_field_option.rb", "app/models/form_field_option.rb"
      m.template "models/form_submission.rb", "app/models/form_submission.rb"
      
      m.directory "app/models/form_field"
      m.template "models/form_field/check_box.rb", "app/models/form_field/check_box.rb"
      m.template "models/form_field/check_box_group.rb", "app/models/form_field/check_box_group.rb"
      m.template "models/form_field/select.rb", "app/models/form_field/select.rb"
      m.template "models/form_field/text_area.rb", "app/models/form_field/text_area.rb"
      m.template "models/form_field/text_field.rb", "app/models/form_field/text_field.rb"
      
      m.migration_template 'migrations/create_dynamic_forms.rb', 'db/migrate', :migration_file_name => "create_dynamic_forms"
    end
  end
  
end
{'fraction_non_alphanumeric': 0.1222707423580786, 'fraction_numerical': 0.0, 'mean_word_length': 3.963898916967509, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2269209', 'n_tokens_mistral': 470, 'n_tokens_neox': 469, 'n_words': 68}