rails--rails/actioncable
Javan Makhmali 55311b1596 Ensure @rails/actioncable package contains complete source
Action Cable's JavaScript library can optionally be imported as an ES6 module via `import { … } from "@rails/actioncable/src"`, but that module is broken in most of the releases published on npm:

```
ERROR in ./node_modules/@rails/actioncable/src/connection.js
Module not found: Error: Can't resolve './internal' in './node_modules/@rails/actioncable/src'
 @ ./node_modules/@rails/actioncable/src/connection.js
 @ ./node_modules/@rails/actioncable/src/index.js
```

Because `internal.js` was gitignored, it would only be included if the publisher happened to have it generated locally. Committing it to version control ensures that won't happen, and gives us better visibility into changes over time.

References:
- https://github.com/rails/rails/pull/34370
- c0368ad090
2019-08-15 09:19:59 -04:00
..
app Ensure @rails/actioncable package contains complete source 2019-08-15 09:19:59 -04:00
bin Use frozen string literal in actioncable/ 2017-07-23 23:30:29 +03:00
lib Enable `Layout/EmptyLinesAroundAccessModifier` cop 2019-06-13 12:00:45 +09:00
test Revert "MethodCallAssertions is a regular player of the team ActiveSupport::TestCase now" 2019-08-02 00:24:21 -04:00
.babelrc Convert ActionCable javascript to ES2015 modules with modern build environment 2018-11-02 08:41:05 -07:00
.eslintrc Convert ActionCable javascript to ES2015 modules with modern build environment 2018-11-02 08:41:05 -07:00
.gitignore Ensure @rails/actioncable package contains complete source 2019-08-15 09:19:59 -04:00
CHANGELOG.md Start Rails 6.1 development 2019-04-24 15:57:14 -04:00
MIT-LICENSE Bump license years for 2019 2018-12-31 10:24:38 +07:00
README.md Updated links from http to https in guides, docs, etc 2019-03-09 16:43:47 +05:30
Rakefile Ensure @rails/actioncable package contains complete source 2019-08-15 09:19:59 -04:00
actioncable.gemspec Updated links from http to https in guides, docs, etc 2019-03-09 16:43:47 +05:30
karma.conf.js s/Travis/Buildkite/ 2019-04-09 11:28:49 +09:30
package.json Start Rails 6.1 development 2019-04-24 15:57:14 -04:00
rollup.config.js Remove circular dependency warnings in ActionCable javascript and publish source modules with fine-grained exports (#34370) 2018-12-01 16:25:02 -05:00
rollup.config.test.js Convert ActionCable tests from CoffeeScript to ES2015 and replace Blade with Karma and Rollup (#34440) 2018-11-26 17:16:02 -05:00

README.md

Action Cable Integrated WebSockets for Rails

Action Cable seamlessly integrates WebSockets with the rest of your Rails application. It allows for real-time features to be written in Ruby in the same style and form as the rest of your Rails application, while still being performant and scalable. It's a full-stack offering that provides both a client-side JavaScript framework and a server-side Ruby framework. You have access to your full domain model written with Active Record or your ORM of choice.

You can read more about Action Cable in the Action Cable Overview guide.

Support

API documentation is at:

Bug reports for the Ruby on Rails project can be filed here:

Feature requests should be discussed on the rails-core mailing list here: