Rendering Twitter BootStrap Modal in Rails 3
===

I have an app where I want to render a modal notification if a certain condition exists.

I have a call record with a transfer_date.  If that transfer_date is within 30.minutes it should trigger the modal with a notification and call.incident_number.

Here is the eval code I wrote to evaluate the different in time

    if transfer_date - Time.now < 30.minutes

I'm just not sure how to fire off the modal and include relevant information from the call record such as call.incident_number and such.

Any help would be appreciated.