method

cable_gemfile_entry

Importance_0
v5.1.7 - Show latest stable - 0 notes - Class: AppBase
cable_gemfile_entry() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/rails/generators/app_base.rb, line 363
      def cable_gemfile_entry
        return [] if options[:skip_action_cable]
        comment = "Use Redis adapter to run Action Cable in production"
        gems = []
        gems << GemfileEntry.new("redis", "~> 4.0", comment, {}, true)
        gems
      end
Register or log in to add new notes.