We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2b9366a + 52f37c4 commit 83a1cffCopy full SHA for 83a1cff
activejob/CHANGELOG.md
@@ -14,12 +14,12 @@
14
Now Active Job will automatically defer the enqueuing to after the transaction is committed,
15
and drop the job if the transaction is rolled back.
16
17
- Various queue implementations can chose to disable this behavior, and users can disable it,
+ Various queue implementations can choose to disable this behavior, and users can disable it,
18
or force it on a per job basis:
19
20
```ruby
21
class NewTopicNotificationJob < ApplicationJob
22
- self.enqueue_after_transaction_commit = false # or `true`
+ self.enqueue_after_transaction_commit = :never # or `:always` or `:default`
23
end
24
```
25
0 commit comments