Permalink
Browse files

Merge pull request #30123 from yhirano55/fix_dummy_app_configuration

Fix dummy_app configuration
  • Loading branch information...
rafaelfranca committed Aug 8, 2017
2 parents b28bba9 + 8967170 commit 507f3efe1f03488fd19b314f89dfafa5626d6eb5
Showing with 5 additions and 3 deletions.
  1. +5 −3 railties/lib/rails/generators/rails/plugin/templates/rails/application.rb
@@ -3,16 +3,18 @@
<% if include_all_railties? -%>
require 'rails/all'
<% else -%>
require "rails"
# Pick the frameworks you want:
require "active_model/railtie"
require "active_job/railtie"
<%= comment_if :skip_active_record %>require "active_record/railtie"
require "action_controller/railtie"
require "action_view/railtie"
<%= comment_if :skip_action_mailer %>require "action_mailer/railtie"
require "active_job/railtie"
require "action_view/railtie"
require "active_storage/engine"
<%= comment_if :skip_action_cable %>require "action_cable/engine"
<%= comment_if :skip_test %>require "rails/test_unit/railtie"
<%= comment_if :skip_sprockets %>require "sprockets/railtie"
<%= comment_if :skip_test %>require "rails/test_unit/railtie"
<% end -%>
Bundler.require(*Rails.groups)

0 comments on commit 507f3ef

Please sign in to comment.