aboutsummaryrefslogtreecommitdiffstats
path: root/railties/CHANGELOG.md
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2017-06-26 05:46:12 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2017-07-16 08:38:47 +0900
commit5803640261a324bd7d7665a2bad5b5dc6da29255 (patch)
tree725eb7e0f1eba0cf2f00b28df0bf80795f595824 /railties/CHANGELOG.md
parent5153c0c21daa2f19b01e8ed2738e9f154bd948f7 (diff)
downloadrails-5803640261a324bd7d7665a2bad5b5dc6da29255.tar.gz
rails-5803640261a324bd7d7665a2bad5b5dc6da29255.tar.bz2
rails-5803640261a324bd7d7665a2bad5b5dc6da29255.zip
Do not generate unused components contents in `app:update` task
Currently, `app:update` generates all contents regardless of the component using in application. For example, even if not using Action Cable, `app:update` will generate a contents related to Action Cable. This is a little inconvenient. This PR checks the existence of the component and does not generate unnecessary contents. Can not check all options in this way. However, it will be able to prevent the generation of unnecessary files.
Diffstat (limited to 'railties/CHANGELOG.md')
-rw-r--r--railties/CHANGELOG.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/railties/CHANGELOG.md b/railties/CHANGELOG.md
index 761e2f4ded..5ea007bc33 100644
--- a/railties/CHANGELOG.md
+++ b/railties/CHANGELOG.md
@@ -1,3 +1,10 @@
+* Skip unused components when running `bin/rails app:update`.
+
+ If the initial app generation skipped Action Cable, Active Record etc.,
+ the update task honors those skips too.
+
+ *Yuji Yaginuma*
+
* Make Rails' test runner work better with minitest plugins.
By demoting the Rails test runner to just another minitest plugin —