method

cable_gemfile_entry

Importance_0
v5.0.0.1 - Show latest stable - 0 notes - Class: AppBase
cable_gemfile_entry() protected

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 352
      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", '~> 3.0', comment, {}, true)
        gems
      end
Register or log in to add new notes.