Skip to content

Commit 8c0bbdc

Browse files
committed
Fix a value for disabling enqueue_after_transaction_commit [ci-skip]
`enqueue_after_transaction_commit` expects Symbol values, not Boolean. https://github.com/rails/rails/blob/a472403d55ee5e654590e8597cb89acce928d9a9/activejob/lib/active_job/enqueue_after_transaction_commit.rb#L23-L30
1 parent a472403 commit 8c0bbdc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/source/7_2_release_notes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ basis:
194194

195195
```ruby
196196
class NewTopicNotificationJob < ApplicationJob
197-
self.enqueue_after_transaction_commit = false
197+
self.enqueue_after_transaction_commit = :never
198198
end
199199
```
200200

0 commit comments

Comments
 (0)