Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

From Action to Any #2

Merged
merged 5 commits into from Jun 25, 2020
Merged

From Action to Any #2

merged 5 commits into from Jun 25, 2020

Conversation

palkan
Copy link
Member

@palkan palkan commented Jun 18, 2020

Description

This PR demonstrates the process of migrating from Action Cable to AnyCable.

Changes

Basic

These are the basic steps required for most of the applications:

  • Installed anycable-rails gem
  • Ran rails g anycable:setup (a836045)
  • Fixed instance variables usage in channels (601c313)

Advanced

Some changes specific to this application:

  • Made User class compatible with AnyCable identification (bee136f)
  • Made system tests run with AnyCable (5068b56)

@palkan palkan added the demo label Jun 18, 2020
@palkan palkan force-pushed the demo/anycable-setup branch 13 times, most recently from f72a99a to 8b647c0 Compare Jun 24, 2020
palkan added 5 commits Jun 24, 2020
This commit contains the changes after running `rails g anycable:setup`
It should be included to ActiveModel classes to make them identifiable in AnyCable
@palkan palkan merged commit 7c768fb into master Jun 25, 2020
3 checks passed
@palkan palkan deleted the demo/anycable-setup branch Jun 25, 2020
@palkan palkan restored the demo/anycable-setup branch Jun 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
demo
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant