mirror of
https://github.com/discourse/discourse.git
synced 2025-04-13 21:42:27 +08:00

We were calling the job with a symbol as one of the values: ```ruby Jobs.enqueue( :send_message_notifications, chat_message_id: 1, timestamp: Time.now.iso8601(6), reason: :new, ) ``` Which is a bad pattern as when the job serialisation will happen, `:new` will become `"new"` and you have to deal with a string in your job and not a symbol, which can be confusing and lead to bugs.