jQuery Tablesorter Gem for Rails 3.1
I create my first gem, jquery-tablesorter.
It’s based on Christian Bach’s jQuery plugin Tablesorter.
The project page is https://github.com/linjunpop/jquery-tablesorter-rails
I create my first gem, jquery-tablesorter.
It’s based on Christian Bach’s jQuery plugin Tablesorter.
The project page is https://github.com/linjunpop/jquery-tablesorter-rails
UPDATE: There is a gem jquery-ui-themes perfectly fix this, recommend to use this gem.
The following will fix the jQuery-ui theme’s issue on Rails 3.1, tested in production
Add this line to app/assets/stylesheets/application.css
*= require vendor
create vendor/assets/stylesheets/vendor.css with
/*
*= require_tree ./jquery_ui
*
*/
Put the jQuery-ui in vendor folder
vendor
└── assets
└── stylesheets
├── images
│ ├── ui-bg_flat_0_aaaaaa_40x100.png
│ ├── ...
├── jquery_ui
│ └── jquery-ui-1.8.16.custom.css
└── vendor.css
The ugly way, but it just worked.
I do a research on the refinerycms, and write a note about that.
The link: http://peg.gd/1M0