Rails 3.1 Integration for Ueditor
ueditor-rails gem integrates the Ueditor editor with the Rails 3.1 asset pipeline.
ueditor-rails to your Gemfile
Be sure to add to the global group, not the
assets group. Then run
2. Include the Ueditor assets
Use one of the following options to include Ueditor assets.
(1) Add to your application.js:
//= require ueditor
(2) The Ueditor assets can be included on a per-page basis using js: