I am using Rails 3.1 and having an issue with the jQueryUI library. Here is my application.js file:
//= require jquery
//= require jquery-ui
//= require jquery_ujs
// Loads all Bootstrap javascripts
//= require bootstrap
//= require rails.validations
//= require_tree .
It loads the "jquery ui" file into the browser, but whatever I use related to it it shows this error:
TypeError: Object function (a,b){return new d.fn.init(a,b,g)} has no method 'dialog'