I'm assuming Ruby on Rails 3.1 includes just the UI Core components (Core, Widget, Mouse, Position).
Question Part 1 Is there somewhere I can confirm this? I am trying to utilize some of jQu开发者_如何转开发ery's other awesome widgets. The ProgressBar to be exact. Mainly, I am looking at the list of available widgets located here: http://jqueryui.com/downloadQuestion Part 2
If I wanted to add say the jquery.ui.progressbar.js file to my RoR project, do I just add it to the app/assets/javascripts folder and add<%= javascript_include_tag 'jquery.ui.progressbar'%>
to my application layout file?
Thanks!
You'll find all your answers and much more here.
First page of the railscast, you see:
//= require jquery
//= require jquery_ujs
//= require jquery-ui
//= require_tree ./public
Which means default are jquery
+ jquery-ui
.
If you want to add more, add them to the manifest or in your view.
精彩评论