CanJS for Rails!
This gem provides:
- can.js 2.0.0 for jQuery (including all plugins)
This gem requires the asset pipeline, so it should work with Rails 3.1 or later. The version of CanJS included with this gem (can.jquery) requires jQuery, conveniently Rails 3.1 and later includes jquery-rails by default, so you won't need to explicitly install jQuery. However, if you aren't using jquery-rails make sure you install jQuery and require it before can.jquery in your
Add the canjs-rails gem to your Gemfile.
To make the core CanJS library available add these lines to
//= require can.jquery
Many thanks are due to the jquery-rails project as it was used as the basis for this gem.
Copyright Craig Wickesser, released under the MIT License.