aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/action_cable_overview.md
Commit message (Collapse)AuthorAgeFilesLines
* url -> URL in Action Cable guide [ci skip]Sharang Dashputre2019-04-011-3/+3
|
* feat(js): Dynamic ActionCable URL (#35579)Ryan Castner2019-03-311-0/+17
| | | | | | | | | | | | | | | | | * Failing test case * feat: Dynamic Url Generation Change createWebSocketURL to be a closure that allows url to be evaluated at the time the webSocket is established * refactor: createWebSocketURL to Consumer, remove need for closure Move initial call to createWebSocketURL in createConsumer * docs: Add documentation for dynamic url and string args to createConsumer Co-Authored-By: rmacklin <rmacklin@users.noreply.github.com> [Ryan Castner, rmacklin]
* Update links and code examples in the guides to use HTTPS where the host ↵Nathaniel Suchy2019-03-061-1/+1
| | | | supports it.
* Add Worker Pool section to Action Cable configuration docsSergey Ponomarev2019-02-011-5/+15
|
* Minimize boilerplate setup code for JavaScript librariesJavan Makhmali2019-01-161-2/+2
|
* Add Action Cable Testing guidesVladimir Dementyev2019-01-141-0/+5
|
* Merge pull request #34932 from ↵Ryuta Kamizono2019-01-141-8/+8
|\ | | | | | | | | bogdanvlviv/fix-action-cable-guide-follow-up-34709 Fix "Action Cable Overview" guide [ci skip]
| * Fix "Action Cable Overview" guide [ci skip]bogdanvlviv2019-01-131-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix path to channel files. `rails generate channel Chat` generates `app/javascript/channels/chat_channel.js`. See also, railties/lib/rails/generators/rails/app/templates/app/javascript/packs/application.js.tt, actioncable/lib/rails/generators/channel/templates/javascript/index.js.tt by default `application.js` imports "channels", where `app/javascript/channels/index.js` loads all the channels within this directory and all subdirectories. Follow up #34709 Related to #33079
* | Merge `actioncable/README.md` to the Action Cable Overview guide [ci skip]bogdanvlviv2019-01-131-0/+30
|/ | | | | | | | | | | | In #34709 we updated the guide, but `actioncable/README.md` is still outdated. Instead of fixing content in the file. I suggest not duplicate the info that is already in the guide and instead remove the info from the file and just add a message: "You can read more about Action Cable in the [Action Cable Overview](https://edgeguides.rubyonrails.org/action_cable_overview.html) guide." The same approach is being used for Action Mailbox and Action Text, see #34812 and #34878.
* Move all npm packages to @rails scopeJavan Makhmali2019-01-101-1/+1
| | | | Fixes #33083
* Use ES6 and Webpacker in ActionCable guide.Gannon McGibbon2019-01-041-112/+160
| | | | [ci skip]
* Update `action_cable_overview.md`: fix typo.Evgeny Sugakov2018-11-101-3/+3
| | | | [ci skip]
* fix broken link in Action Cable guides and readme [ci skip]Greg Molnar2018-10-081-1/+1
|
* Rails guides are now served over httpsPaul McMahon2018-07-241-1/+1
| | | | | http links will be redirected to the https version, but still better to just directly link to the https version.
* [ci skip] Add missing **DO NOT READ THIS FILE ON GITHUB, GUIDES ARE ↵Ryuta Kamizono2017-12-151-0/+2
| | | | PUBLISHED ON http://guides.rubyonrails.org.**
* Update Action Cable Overview Guide [ci skip]Francis Go2017-11-221-9/+9
|
* Remove mention about Evented Redis [ci skip]yuuji.yaginuma2017-10-261-2/+2
| | | | Evented Redis adapter was removed in 48766e32d31651606b9f68a16015ad05c3b0de2c.
* Remove mention about Evented Redis [ci skip]bogdanvlviv2017-10-231-2/+1
| | | | | Evented Redis is removed from Rails. See #30945
* Cosmetic fixes [ci skip]Yauheni Dakuka2017-10-061-1/+1
|
* [ci skip] Prefer cookies.encrypted over signed (#30129)Claudio B2017-08-071-1/+1
| | | | | | | | | | | | | | | | In some examples and guides we are recommending to use code like: ```ruby verified_user = User.find_by(id: cookies.signed[:user_id]) ``` My suggestion is to use instead: ```ruby verified_user = User.find_by(id: cookies.encrypted[:user_id]) ``` which invites users to prefer the "newer" encrypted cookies over the "legacy" signed cookies.
* Rename local variable name `current_user` to `verified_user` [ci skip]yuuji.yaginuma2017-03-251-3/+3
| | | | Related #28570
* Various style + grammar fixes for #27719Jon Moss2017-01-181-8/+10
| | | | [ci skip]
* Update ActionCable guide to better describe SubscriptionAdapter configuration.Chad Ingram2017-01-171-3/+22
|
* Abuse of protected in guidesAkira Matsuda2016-12-251-1/+1
|
* Suggested editsJavier Cuevas2016-10-131-3/+3
|
* Improve Action Cable Overview guideJavier Cuevas2016-10-131-3/+3
| | | The default adapter in development & test environments is not `redis` but `async`.
* Change page:change to turbolinks:load in README.md [ci skip]kenta-s2016-10-051-1/+1
|
* Merge branch 'master' of github.com:rails/docrailsVijay Dev2016-08-211-2/+2
|\
| * Fix remaining broadcasting_name example from Action Cable guide [ci skip]Prathamesh Sonpatki2016-08-121-2/+2
| | | | | | | | - Followup of https://github.com/rails/rails/pull/26125.
* | [ci skip] Fix documentation wrong for ActionCableEric Zhang2016-08-121-1/+1
| |
* | [ci skip] Fix documentation for ActionCable::Channel#broadcast_toEric Zhang2016-08-121-2/+2
|/
* Update ActionCable Rebroadcasting a Message documentationJoseph Mullins2016-07-121-1/+1
| | | | Replace broadcast_to with ActionCable.server.broadcast to be inline with its partner, #stream_from
* Add header demarcation to Action Cable guideJosh Justice2016-07-051-1/+3
| | | | | | | | Guide generation is configured to detect a guide header by a 40-or-more-hyphen long line. The Action Cable guide was missing this line, so the page title on the guides site was only showing "Ruby on Rails Guides", and the section title in the Kindle index was "Ruby on Rails Guides". Adding the header demarcation line back in fixes both of these. Fixes #25697 [ci skip]
* Make log tags example for ACa more generic and not BC specific [ci skip]Vipul A M2016-06-151-3/+4
|
* Expand on AC introduction list [ci skip]Vipul A M2016-06-071-0/+2
|
* Merge branch 'master' of github.com:rails/docrailsVijay Dev2016-06-031-1/+1
|\ | | | | | | | | Conflicts: guides/source/action_cable_overview.md
| * Light edits to Action Cable Overview guideJon Moss2016-05-281-3/+3
| | | | | | | | [ci skip]
* | [ci skip]Fix wrong require path raising LoadErrorwillnet2016-05-291-1/+1
| |
* | [ci skip] Fix ActionCable Guideswillnet2016-05-271-1/+1
| | | | | | | | Default worker pool size was changed from 100 to 4 at #24376
* | edit pass over the cable guide [ci skip]Xavier Noria2016-05-141-143/+181
|/
* change cable.coffee to cable.js [ci skip]yuuji.yaginuma2016-05-071-6/+11
| | | | | In #23935, cable file was to be provided by the javascript instead of coffeescript, doc was also been modified to use javascript.
* http --> httpsJon Moss2016-05-061-1/+1
| | | | [ci skip]
* Merge branch 'master' of github.com:rails/docrailsVijay Dev2016-04-291-7/+8
|\ | | | | | | | | Conflicts: guides/source/configuring.md
| * [ci skip] Fix formatting of code snippet in Action Cable guidePrathamesh Sonpatki2016-04-051-7/+8
| |
* | update example to specify the Action Cable mount path [ci skip]yuuji.yaginuma2016-04-151-4/+5
| | | | | | | | Follow up to 8b69f1e
* | fix typo in file path [ci skip]yuuji.yaginuma2016-04-101-4/+4
|/
* Remove extra 'the' and unwanted comma [ci skip]Santosh Wadghule2016-03-081-1/+1
|
* Fix formatting in Action Cable guide [ci skip]Prathamesh Sonpatki2016-02-281-0/+1
|
* Fix merge conflict in Action Cable guide [ci skip]Prathamesh Sonpatki2016-02-281-5/+2
|
* Further cleanup of the cable guideDavid Heinemeier Hansson2016-02-281-100/+51
|