```coffeescript
$(document).on 'peek:update', ->
  resqueContext = $('#peek-context-resque')
  if resqueContext.size()
    context = resqueContext.data('context')
    failures = context.jobs.failures
    $('#resque-jobs-tooltip').attr('title', "Failures: #{failures}").tipsy()
```

Use provided context payload to render tooltip
user
```coffeescript
$(document).on 'peek:render', (event, data) ->
  $('#resque-jobs-tooltip').attr('title', "Failures: #{data.context.resque.jobs.failures}").tipsy()
```
assistant