Sha256: b062adf7ed4b461678bd7abc91103485a6e3119cc1d617403ba2c92c5fc9c315
Contents?: true
Size: 741 Bytes
Versions: 37
Compression:
Stored size: 741 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. Examples: `bin/rails generate channel notification` creates a notification channel class, test and JavaScript asset: Channel: app/channels/notification_channel.rb Test: test/channels/notification_channel_test.rb Assets: $JAVASCRIPT_PATH/channels/notification_channel.js `bin/rails generate channel chat speak` creates a chat channel with a speak action. `bin/rails generate channel comments --no-assets` creates a comments channel without JavaScript assets.
Version data entries
37 entries across 37 versions & 5 rubygems