CKEditor for Rails.
Note: Latest gem version uses CKEditor 3.6.1.
This gem vendors
CKEditor 3.6.1 for
Rails 3.1 and greater. The files will
be added to the asset pipeline and available for you to use.
//= require ckeditor
You can also use it standalone in your views:
Important: It's important you define the
variable before you include the
ckeditor code. This will make
work with theasset pipeline on production, otherwise you'll see a white screen
where CKEditor should be shown. More info here.
In a Rails 3.1 apps include
ckeditor-rails in the Gemfile: