diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2015-12-30 22:30:29 +0100 |
---|---|---|
committer | Kasper Timm Hansen <kaspth@gmail.com> | 2015-12-30 22:30:29 +0100 |
commit | e129c0698c1ae79ce6d4a97887685fc071689534 (patch) | |
tree | 82050c73be4d6ac5ccbae71ae367829c26c0cb96 /guides/source | |
parent | 136e5ea15818573701a389715af7e725bd4aea82 (diff) | |
download | rails-e129c0698c1ae79ce6d4a97887685fc071689534.tar.gz rails-e129c0698c1ae79ce6d4a97887685fc071689534.tar.bz2 rails-e129c0698c1ae79ce6d4a97887685fc071689534.zip |
[ci skip] Update rails/all.rb reference.
It didn't mention Action Cable's engine.
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/initialization.md | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/guides/source/initialization.md b/guides/source/initialization.md index 7bf7eebb62..6232ef4c57 100644 --- a/guides/source/initialization.md +++ b/guides/source/initialization.md @@ -530,16 +530,17 @@ This file is responsible for requiring all the individual frameworks of Rails: require "rails" %w( - active_record - action_controller - action_view - action_mailer - active_job - rails/test_unit - sprockets -).each do |framework| + active_record/railtie + action_controller/railtie + action_view/railtie + action_mailer/railtie + active_job/railtie + action_cable/engine + rails/test_unit/railtie + sprockets/railtie +).each do |railtie| begin - require "#{framework}/railtie" + require "#{railtie}" rescue LoadError end end |