Skip to content

Commit 0c54183

Browse files
Tweak Gemfile comment about Solid adapters (rails#52925)
Do not mention Action Cable if app was generated with --skip-action-cable
1 parent 8f45ef8 commit 0c54183

File tree

1 file changed

+4
-0
lines changed
  • railties/lib/rails/generators/rails/app/templates

1 file changed

+4
-0
lines changed

railties/lib/rails/generators/rails/app/templates/Gemfile.tt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@ source "https://rubygems.org"
1313
gem "tzinfo-data", platforms: %i[ <%= bundler_windows_platforms %> jruby ]
1414
<% unless options.skip_solid? -%>
1515

16+
<% if options.skip_action_cable? -%>
17+
# Use the database-backed adapters for Rails.cache and Active Job
18+
<% else -%>
1619
# Use the database-backed adapters for Rails.cache, Active Job, and Action Cable
20+
<% end -%>
1721
gem "solid_cache"
1822
gem "solid_queue"
1923
<% unless options.skip_action_cable? -%>

0 commit comments

Comments
 (0)