Open mensfeld opened 8 years ago
@mensfeld Facing the same issue here, i placed your snippet in an initalizer and it is still not working. Any hints?
@arwaahmed unfortunately I decided not to go with Apartment as in the end I had to start doing multiple hacks to make it work. Until it is supported I would not recommend using Apartment with Rails5.
@mensfeld What did you use instead?
@bradrobertson Are you aware of this? Anything we can do to help?
@jhubert I decided to go a different road ;)
Hi there. Are we likely to see Rails 5 supported?
I've taken the approach linked in one of the other threads, passing the tenant to the jobs explicitly, but gems like SearchKick queue up jobs automatically and I can't cleanly wedge the tenant name into the callback.
Would be great to know if there are any other recommended approaches. Cheers!
Apartment sidekiq is no longer working out of the box with the new Rails.
In order to make it work I had to manually invoke: