Sha256: 4b9b99c1d299f33fbf4a74d57945060ec07a87baeee361f12d7493e5b345e8e3

Contents?: true

Size: 518 Bytes

Versions: 38

Compression:

Stored size: 518 Bytes

Contents

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

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

    creates a Chat channel class, test and JavaScript asset:
        Channel:    app/channels/chat_channel.rb
        Test:       test/channels/chat_channel_test.rb
        Assets:     $JAVASCRIPT_PATH/channels/chat_channel.js

Version data entries

38 entries across 36 versions & 4 rubygems

Version Path
actioncable-7.0.8.7 lib/rails/generators/channel/USAGE
actioncable-7.0.8.6 lib/rails/generators/channel/USAGE
actioncable-7.0.8.5 lib/rails/generators/channel/USAGE
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/actioncable-7.0.8.4/lib/rails/generators/channel/USAGE
cm-admin-1.5.22 vendor/bundle/ruby/3.3.0/gems/actioncable-7.0.5.1/lib/rails/generators/channel/USAGE
cm-admin-1.5.21 vendor/bundle/ruby/3.3.0/gems/actioncable-7.0.5.1/lib/rails/generators/channel/USAGE
cm-admin-1.5.20 vendor/bundle/ruby/3.3.0/gems/actioncable-7.0.5.1/lib/rails/generators/channel/USAGE
actioncable-7.0.8.4 lib/rails/generators/channel/USAGE
actioncable-7.0.8.1 lib/rails/generators/channel/USAGE
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/actioncable-7.0.3.1/lib/rails/generators/channel/USAGE
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/actioncable-7.0.2.3/lib/rails/generators/channel/USAGE
actioncable-7.0.8 lib/rails/generators/channel/USAGE
actioncable-7.0.7.2 lib/rails/generators/channel/USAGE
actioncable-7.0.7.1 lib/rails/generators/channel/USAGE
actioncable-7.0.7 lib/rails/generators/channel/USAGE
actioncable-7.0.6 lib/rails/generators/channel/USAGE
actioncable-7.0.5.1 lib/rails/generators/channel/USAGE
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/actioncable-7.0.2.3/lib/rails/generators/channel/USAGE
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/actioncable-7.0.3.1/lib/rails/generators/channel/USAGE
actioncable-7.0.5 lib/rails/generators/channel/USAGE