Sunday, July 11, 2010

[Rails] Having problem with ckeditor rubygem

I've installed the ckeditor gem. I'm running rails 2.8.3 and have
followed the steps in the README file for the gem. Everything seems to
run without error through the <%= javascript_include_tag :ckeditor %> -
except that to make it work I have to replace :ckeditor with "ckeditor".

When I try to use the helper: <%= ckeditor_textarea("object", "field",
:width => '100%', :height => '200px') %> (I'm copying it verbatim from
the documentation and will tailor it after I have it generating the
editor), it fails with the following error message:

undefined method `ckeditor_textarea' for
#<ActionView::Base:0xb5e7abe8>

Obviously, I'm omitting something I need to do. Would someone be so kind
as to let me know what I'm missing?

Thanks much.

---Michael
--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate