Sha256: f45711a3063a60b2b8076ff7144c55dfc865ee0337baf38b62e693c7a82c8d1d

Contents?: true

Size: 512 Bytes

Versions: 39

Compression:

Stored size: 512 Bytes

Contents

Description:
============
    Stubs out 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:
========
    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

39 entries across 39 versions & 4 rubygems

Version Path
actioncable-6.0.6.1 lib/rails/generators/channel/USAGE
actioncable-6.0.6 lib/rails/generators/channel/USAGE
actioncable-6.0.5.1 lib/rails/generators/channel/USAGE
actioncable-6.0.5 lib/rails/generators/channel/USAGE
actioncable-6.0.4.8 lib/rails/generators/channel/USAGE
actioncable-6.0.4.7 lib/rails/generators/channel/USAGE
actioncable-6.0.4.6 lib/rails/generators/channel/USAGE
actioncable-6.0.4.5 lib/rails/generators/channel/USAGE
actioncable-6.0.4.4 lib/rails/generators/channel/USAGE
actioncable-6.0.4.3 lib/rails/generators/channel/USAGE
actioncable-6.0.4.2 lib/rails/generators/channel/USAGE
actioncable-6.0.4.1 lib/rails/generators/channel/USAGE
actioncable-6.0.4 lib/rails/generators/channel/USAGE
actioncable-6.0.3.7 lib/rails/generators/channel/USAGE
actioncable-6.0.3.6 lib/rails/generators/channel/USAGE
actioncable-6.0.3.5 lib/rails/generators/channel/USAGE
actioncable-6.0.3.4 lib/rails/generators/channel/USAGE
actioncable-6.0.3.3 lib/rails/generators/channel/USAGE
actioncable-6.0.3.2 lib/rails/generators/channel/USAGE
actioncable-6.0.3.1 lib/rails/generators/channel/USAGE