Skip to content

Instantly share code, notes, and snippets.

@smapira
Created September 23, 2021 07:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save smapira/02664d52657cf258445f40636eb9a527 to your computer and use it in GitHub Desktop.
Save smapira/02664d52657cf258445f40636eb9a527 to your computer and use it in GitHub Desktop.
Configuration generator into config/application.rb
config.generators do |g|
g.assets false
g.helper false
g.scaffold_controller false
g.erb false
g.resource_route false
g.test_framework :rspec,
fixtures: true,
controller_specs: true,
helper_specs: false,
routing_specs: false
g.fixture_replacement :factory_bot, dir: 'spec/factories'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment