Sha256: 52db098b6bc1f5cc054dd526cdd14d6a34ad529864d6ffef6d0dfc86ffc88267

Contents?: true

Size: 516 Bytes

Versions: 37

Compression:

Stored size: 516 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:     app/javascript/channels/chat_channel.js

Version data entries

37 entries across 37 versions & 4 rubygems

Version Path
actioncable-6.1.7.10 lib/rails/generators/channel/USAGE
actioncable-6.1.7.9 lib/rails/generators/channel/USAGE
actioncable-6.1.7.8 lib/rails/generators/channel/USAGE
actioncable-6.1.7.7 lib/rails/generators/channel/USAGE
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/actioncable-6.1.6.1/lib/rails/generators/channel/USAGE
actioncable-6.1.7.6 lib/rails/generators/channel/USAGE
actioncable-6.1.7.5 lib/rails/generators/channel/USAGE
actioncable-6.1.7.4 lib/rails/generators/channel/USAGE
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/actioncable-6.1.6.1/lib/rails/generators/channel/USAGE
actioncable-6.1.7.3 lib/rails/generators/channel/USAGE
actioncable-6.1.7.2 lib/rails/generators/channel/USAGE
actioncable-6.1.7.1 lib/rails/generators/channel/USAGE
actioncable-6.1.7 lib/rails/generators/channel/USAGE
actioncable-6.1.6.1 lib/rails/generators/channel/USAGE
actioncable-6.1.6 lib/rails/generators/channel/USAGE
actioncable-6.1.5.1 lib/rails/generators/channel/USAGE
actioncable-6.1.5 lib/rails/generators/channel/USAGE
actioncable-6.1.4.7 lib/rails/generators/channel/USAGE
actioncable-6.1.4.6 lib/rails/generators/channel/USAGE
actioncable-6.1.4.5 lib/rails/generators/channel/USAGE