diff options
author | bogdanvlviv <bogdanvlviv@gmail.com> | 2018-10-22 14:18:25 +0300 |
---|---|---|
committer | bogdanvlviv <bogdanvlviv@gmail.com> | 2018-10-22 23:55:36 +0300 |
commit | 3b8307e8305c1b7d0ac046ae5bc448f9b3effdb3 (patch) | |
tree | b482241e570429782d69ab7ee7c2bafb8eb8c461 /guides/source | |
parent | 855ae222a9a4053c2b4f489d540bbb83cd92d95e (diff) | |
download | rails-3b8307e8305c1b7d0ac046ae5bc448f9b3effdb3.tar.gz rails-3b8307e8305c1b7d0ac046ae5bc448f9b3effdb3.tar.bz2 rails-3b8307e8305c1b7d0ac046ae5bc448f9b3effdb3.zip |
Remove mentions about `javascripts` option from the guide about generators [ci skip]
This option is unused since #33079.
Follow up #34277
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/generators.md | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/guides/source/generators.md b/guides/source/generators.md index f028d14998..88ce4be8da 100644 --- a/guides/source/generators.md +++ b/guides/source/generators.md @@ -219,7 +219,7 @@ If we want to avoid generating the default `app/assets/stylesheets/scaffolds.scs end ``` -The next customization on the workflow will be to stop generating stylesheet, JavaScript, and test fixture files for scaffolds altogether. We can achieve that by changing our configuration to the following: +The next customization on the workflow will be to stop generating stylesheet and test fixture files for scaffolds altogether. We can achieve that by changing our configuration to the following: ```ruby config.generators do |g| @@ -227,7 +227,6 @@ config.generators do |g| g.template_engine :erb g.test_framework :test_unit, fixture: false g.stylesheets false - g.javascripts false end ``` @@ -285,7 +284,6 @@ config.generators do |g| g.template_engine :erb g.test_framework :test_unit, fixture: false g.stylesheets false - g.javascripts false g.helper :my_helper end ``` @@ -350,7 +348,6 @@ config.generators do |g| g.template_engine :erb g.test_framework :test_unit, fixture: false g.stylesheets false - g.javascripts false end ``` @@ -385,7 +382,6 @@ config.generators do |g| g.template_engine :erb g.test_framework :shoulda, fixture: false g.stylesheets false - g.javascripts false # Add a fallback! g.fallbacks[:shoulda] = :test_unit |