I\'ve copied and pasted the example code from twitter bootstrap to create a basic modal window in my Rails 3.2 app:
In order to get my modal to display when calling .modal('show')
I changed:
modal.on('loaded.bs.modal', function()
to:
modal.on('shown.bs.modal', function() {