Skip to content

Commit 2c41379

Browse files
authored
Include generator config for dev environment (#403)
* Include generator config for dev environment * Make linter happy
1 parent 504c061 commit 2c41379

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ruby_on_rails/app_initialisation.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,11 @@ Check existing projects for an example of the usage.
126126
```ruby
127127
config.action_controller.action_on_unpermitted_parameters = :raise
128128
config.i18n.raise_on_missing_translations = true # uncomment
129+
130+
config.generators do |g|
131+
g.test_framework :rspec
132+
g.apply_rubocop_autocorrect_after_generate!
133+
end
129134
```
130135

131136
* Update `config/environments/test.rb` settings:

0 commit comments

Comments
 (0)