Use the special gem "jquery-rails", "~> 2.3.0" version of gem "jquery-rails", "~> 2.3.0" , since a later version of gem has removed the ui part.
or
you can use the gem "jquery-ui-rails" for jquery-ui . For more information visit the git repository
To require all jQuery user interface modules, add the following to your application.js:
for version 5.0 and more, it has been changed. Please follow the link
application.js:
//= require jquery-ui
application.css:
For a smaller version than 5.0, we need to write the format below
application.js:
//= require jquery.ui.all
Also add jQuery UI CSS to your application.css:
application.css:
Hope this helps you.
Debadatt Jul 24 '13 at 10:01 2013-07-24 10:01
source share