Skip to content

Added integration instructions with Delayed::Job.#436

Open
aldrinmartoq wants to merge 1 commit intoinfluitive:developmentfrom
aldrinmartoq:development
Open

Added integration instructions with Delayed::Job.#436
aldrinmartoq wants to merge 1 commit intoinfluitive:developmentfrom
aldrinmartoq:development

Conversation

@aldrinmartoq
Copy link
Copy Markdown

Hey guys, I couldn't create a Wiki page so I upgraded the README. I'm sure this will help a lot of people, so please merge it ;-)

Cheers,

@mikecmpbll
Copy link
Copy Markdown
Collaborator

hi @aldrinmartoq, thanks for the PR!

in the before hook is it possible to append to the jobs arguments? would be preferable to store the tenant in the serialized job rather than requiring a migration; that's how the activejob/sidekiq integration works.

@aldrinmartoq
Copy link
Copy Markdown
Author

Ok @mikecmpbll, I need to learn and check if it is posible.

In my use case, it's better to add the tenant as a column because a simple query can show each tenant jobs.

@xcymax
Copy link
Copy Markdown

xcymax commented Aug 25, 2017

This solution was perfect for my situation where we were already using delayed_job for a single application.

Just wanted to note that you should mention adding the Delayed::Job as an excluded model into apartment.rb configuration.

@mikecmpbll mikecmpbll self-assigned this Dec 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants