Sha256: 848c5c575ae7c4cc0381d226db342fe08f829acb13a4b5c56a16e8df32ff939e

Contents?: true

Size: 565 Bytes

Versions: 52

Compression:

Stored size: 565 Bytes

Contents

Description:
============
    Stubs out a new cable channel for the server (in Ruby) and client (in CoffeeScript).
    Pass the channel name, either CamelCased or under_scored, and an optional list of channel actions as arguments.

    Note: Turn on the cable connection in app/assets/javascripts/cable.js after generating any channels.

Example:
========
    rails generate channel Chat speak

    creates a Chat channel class and CoffeeScript asset:
        Channel:    app/channels/chat_channel.rb
        Assets:     app/assets/javascripts/channels/chat.coffee

Version data entries

52 entries across 52 versions & 2 rubygems

Version Path
actioncable-5.2.8.1 lib/rails/generators/channel/USAGE
actioncable-5.2.8 lib/rails/generators/channel/USAGE
actioncable-5.2.7.1 lib/rails/generators/channel/USAGE
actioncable-5.2.7 lib/rails/generators/channel/USAGE
actioncable-5.2.6.3 lib/rails/generators/channel/USAGE
actioncable-5.2.6.2 lib/rails/generators/channel/USAGE
actioncable-5.2.6.1 lib/rails/generators/channel/USAGE
actioncable-5.2.6 lib/rails/generators/channel/USAGE
actioncable-5.2.4.6 lib/rails/generators/channel/USAGE
actioncable-5.2.5 lib/rails/generators/channel/USAGE
actioncable-5.2.4.5 lib/rails/generators/channel/USAGE
actioncable-5.2.4.4 lib/rails/generators/channel/USAGE
actioncable-5.2.4.3 lib/rails/generators/channel/USAGE
actioncable-5.2.4.2 lib/rails/generators/channel/USAGE
actioncable-5.2.4.1 lib/rails/generators/channel/USAGE
actioncable-5.2.4 lib/rails/generators/channel/USAGE
actioncable-5.2.4.rc1 lib/rails/generators/channel/USAGE
spiral_form-0.1.1 vendor/bundle/gems/actioncable-5.2.3/lib/rails/generators/channel/USAGE
spiral_form-0.1.0 vendor/bundle/gems/actioncable-5.2.3/lib/rails/generators/channel/USAGE
actioncable-5.2.3 lib/rails/generators/channel/USAGE