# Dojo and Rails

**URL:** <https://www.ruby-forum.com/t/dojo-and-rails/134885>\
**Category:** Rails\
**Created:** [April 15, 2008, 11:00pm UTC](https://www.ruby-forum.com/t/dojo-and-rails/134885 "2008-04-15T23:00:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Schalk\_N](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/b782af/32.png) [@Schalk\_N](https://www.ruby-forum.com/u/Schalk_N)\
**Post date:** [April 15, 2008, 11:00pm UTC](https://www.ruby-forum.com/t/dojo-and-rails/134885/1 "2008-04-15T23:00:05Z")

</div>

Hi there,

I thought I got Dojo working with rails but I was wrong. When I have a  
text\_area set-up as:

\<%= f.text\_area :content %\>

Generated HTML:

The form submits fine and the content is sent to the controller. However  
when I use the following:

\<%= f.text\_area :content, {:dojoType =\> ‘dijit.Editor’, :class =\>  
‘dojoEditor’} %\>

Generated HTML:

The form is submitted but, the content is not submitted. Has anyone  
worked with rails and Dojo, specifically the rich editor, and found a  
way to make this work?

Thanks,  
Schalk
