2 ms·
> Your job payload should be pure data but Rails ensures that it is code. Doesn't sound right to me. ActiveJob just serializes the arguments to the job. The jo
by gwright 7y ago
> Your job payload should be pure data but Rails ensures that it is code.
Doesn't sound right to me. ActiveJob just serializes the arguments to the job. The job runners spins up the rails environment (i.e. the code) and deserialize the arguments before executing the job.
There is no code serialization as far as I can tell.