2
votes

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?

1
I put a $25 reward for resolving the issue. github.com/influitive/apartment/issues/391 - Bruno Wego

1 Answers

1
votes

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