value return by job.status is not like in rails
In rails implementation, the job.status was 'state' in case of success and downcased : in the job model:
# status of the job # return either .state or .result (which one is more useful) def status (((DONE? or ARCHIVED?) and not SUCCESS?) ? result : state).downcase end
If we want to maintain outputs we should correct the job.status function.
In my opinion, it is better to keep the 'success' in case of success.