2

My Rails 5 app uses ActionCable and I have tenants (using the apartment gem). But ActionCable does not see the apartment middleware, so does not set the tenant.

Does anyone have a way to make this all work together?

Paul A Jungwirth
  • 23,504
  • 14
  • 74
  • 93
Bruno Wego
  • 2,099
  • 3
  • 21
  • 38

1 Answers1

1

You can use the apartment-sidekiq gem for ease-of-use and to achieve the same result instead of using ActionCable.

Shannon
  • 2,988
  • 10
  • 21