tablecloth-rails
Gemified by Doc Walker
Provides the Tablecloth
JavaScript/CSS packaged for the Rails 3.1+ asset pipeline.
Installation
Add these lines to your application's Gemfile
:
# tablecloth table js/css packaged for the rails asset pipeline
gem 'tablecloth-rails', '~> 1.0.101'
And then execute:
$ bundle
Or install it yourself as:
$ gem install tablecloth-rails
Gem version notes:
- Version is in the format
X.Y.ZVV
whereX.Y.Z
is version ofTablecloth
plugin andVV
is version of gem (with leading zero); - Refer to Semantic Versioning 2.0.0 (http://semver.org);
Usage
Add these lines to app/assets/javascripts/application.js
// provides tablecloth table js/css from gem 'tablecloth-rails':
//= require tablecloth-rails
Add these lines to app/assets/stylesheets/application.css
/*
provides tablecloth table js/css from gem 'tablecloth-rails':
= require tablecloth-rails
*/
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Acknowledgements
- Tablecloth written by Alen Grakalic, provided by Css Globe (cssglobe.com)
- RailsCast #245 New Gem with Bundler -- inspiration
- Gemify Assets for Rails -- guidance