Link i was referring to is here: http://stackoverflow.com/questions/39197196/rails-4-bootstrap-modal-form-setup
I'm really stuck in trying to get this setup.
For Rails 4 users, one thing to note is that the require bootstrap/modal needs to be / instead of -.
I still can't get this working though. When I click the link that is supposed to render the modal, I get a greyed out screen but no modal. No console errors and html inspector shows modal container is recognised. The network inspector does not show any path as available.