Ruby on Rails Thursday, June 30, 2011

Hi All,

I am trying to use the rails-ckeditor gem and running into some problems.
It is working fine for FORM_FOR but when implimenting on FORM_TAG, it
giving errot "undefined method `ckeditor_textarea_tag' for
#<#<Class:0x9180348>:0x917e848>".

My view field is <%= ckeditor_textarea_tag :msg, :toolbar=>'Full',
:width => '100%', :height => '200px' %>

Here i c't put <%= ckeditor_textarea("object", "field", :width =>
'100%', :height => '200px') %> because it is for FORM_FOR. it will
expect object and field from me which i have not in FORM_TAG.

So what is the proper syntex and what should i Use here. Any help and
link will apriciated.

thanks in advance.

+++++++++++++++++++
Pravin Mishra

--
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.

No comments:

Post a Comment