diff --git a/config/application.rb b/config/application.rb index da799ab9..d0463d37 100644 --- a/config/application.rb +++ b/config/application.rb @@ -18,5 +18,16 @@ class Application < Rails::Application # # config.time_zone = "Central Time (US & Canada)" # config.eager_load_paths << Rails.root.join("extras") + config.generators do |g| + g.test_framework nil + g.factory_bot false + g.scaffold_stylesheet false + g.stylesheets false + g.javascripts false + g.helper false + end + + config.action_controller.default_protect_from_forgery = true + config.generators.system_tests = nil end end diff --git a/config/initializers/appdev_support.rb b/config/initializers/appdev_support.rb index e2773f9c..06b8dfce 100644 --- a/config/initializers/appdev_support.rb +++ b/config/initializers/appdev_support.rb @@ -1,7 +1,7 @@ AppdevSupport.config do |config| - config.action_dispatch = true - config.active_record = true - config.pryrc = :minimal + # config.action_dispatch = true + # config.active_record = true + # config.pryrc = :minimal end AppdevSupport.init