Ruby on Rails should have nothing to do with it. jQuery works with the HTML/JS/CSS that's delivered to the browser.
You should be able to debug using your browser's built-in inspection tools. Have you tried? You'll be working with HTML/JS/CSS, and so, again, anything about Ruby on Rails is irrelevant.
Do you have errors on the Javascript console? Are all your scripts loading successfully?
Make it work with a simple, static HTML page first. Then add it to your Rails project. If it doesn't work, something is different. Inspect to see what is different.
When describing problems here, it's best to provide a link to a jsFiddle, or else a link to your site, so that we can try it out ourselves. It's usually not very useful to post server code.