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.
Showing
railties/lib/rails/app_updater.rb
0 → 100644
想要评论请 注册 或 登录