Rails3.2でjQuery UIを使う

Rails3.2でjQuery UIを使うメモ。

配置先
  • vender/assets/javascripts/jquery-ui-1.9.1.custom.js
  • vender/assets/stylesheets/jquery-ui-1.9.1.custom.css
  • vender/assets/images/images
app/view/layout/application.html.erb
<%= stylesheet_link_tag    "application", media: "all" %>
<%= stylesheet_link_tag    "jquery-ui-1.9.1.custom" %>
<%= javascript_include_tag "application" %>
<%= csrf_meta_tags %>
app/assets/javascripts/application.js
//= require jquery
//= require jquery_ujs
//= require jquery-ui-1.9.1.custom
//= require_tree .