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