David Heinemeier Hansson
70be2486f3
Simpler directory structure
2015-12-16 18:58:43 +01:00
David Heinemeier Hansson
0625d77784
Note that changes to the cable setup requires restarting the server
2015-12-16 18:23:11 +01:00
David Heinemeier Hansson
8e9b7c0405
@App could have been set elsewhere
2015-12-16 18:17:12 +01:00
David Heinemeier Hansson
910572fffe
Another stab at only mounting redis if the config is there
2015-12-16 18:17:12 +01:00
David Heinemeier Hansson
7eb12796ca
Assume that the cable server is running in-process by default, offer option to change that in config/environments/production.rb
2015-12-16 18:17:12 +01:00
David Heinemeier Hansson
aae14ab3ac
Fix parent class
2015-12-16 18:17:12 +01:00
David Heinemeier Hansson
51ad57989d
Doh, should have read ff370ee617
...
Indeed we need this to be an engine for the internal assets to work
2015-12-16 15:52:46 +01:00
David Heinemeier Hansson
6bfd191c0f
Only initialize redis if the config file is there
2015-12-16 15:42:35 +01:00
David Heinemeier Hansson
deac988756
Include changes made to the engine
2015-12-16 15:31:25 +01:00
David Heinemeier Hansson
26bcf81a01
Move Cable to ActionCable for client-side constant to avoid conflicts
2015-12-16 15:29:21 +01:00
David Heinemeier Hansson
346a7528ef
We are using railtie, not engine
2015-12-16 15:28:50 +01:00
David Heinemeier Hansson
40cc72548f
Basic channel generator
2015-12-15 21:39:22 +01:00
Rafael Mendonça França
649b9d9321
Move the require to the right place
2015-12-15 16:05:42 -02:00
Rafael Mendonça França
23faa711c9
Remove the default logger
...
It should be configured through the railtie
2015-12-15 16:02:47 -02:00
Rafael Mendonça França
96455349ff
Configure the Action Cable's redis in the engine
...
This will decouple Action Cable from Rails.
2015-12-15 15:59:00 -02:00
claudiob
70e593d998
Remove rails/actioncable Travis badge
...
[ci skip]
Since Action Cable is getting integrated into rails/rails, the Travis
badge for rails/actioncable is not needed anymore.
Also following the standard of every other README to have `--` rather
than `-` to separating the name of the library from its description.
2015-12-15 09:25:15 -08:00
Rafael Mendonça França
ff370ee617
Action Cable need to be a engine
...
Otherwise assets will not work
2015-12-15 15:21:36 -02:00
Javan Makhmali
8625518725
Bring latest changes over from actioncable/master
2015-12-15 10:35:02 -05:00
David Heinemeier Hansson
a8db0328a5
Switch from engine to railtie
2015-12-15 13:10:27 +01:00
Rafael Mendonça França
3d4a423cdc
Hook in ActionView::Base, not in ApplicationController
...
The application can have more than one ApplicationController and we
want Action Cable helpers in all controllers and their views so we
should hook in the same place that others helpers.
2015-12-14 15:54:08 -02:00
Rafael Mendonça França
f8058a6aeb
Require the top level file in the engine
2015-12-14 15:53:43 -02:00
claudiob
f6fb71af8b
Remove Alpha disclaimer from ActionCable
...
[ci skip] Getting to ready to merge into rails/rails
2015-12-14 08:24:06 -08:00
David Heinemeier Hansson
760de782f7
Initial stab at adding Action Cable to rails/master
2015-12-14 16:38:37 +01:00
David Heinemeier Hansson
bf40bddfce
Get ready to merge into Rails
2015-12-14 15:48:54 +01:00