I am currently trying to add widgEditor to a ruby ββon rails form, but whenever I click submit I get the following error:
TypeError (expected Hash (got String) for param `content'
The form code is as follows:
<div class="field"> <%= f.label :content %><br /> <%= f.text_area :content, :cols => "20", :rows=>"4", :class=>"widgEditor" %> </div> <div class="actions"> <%= f.submit %> </div>
Does anyone have any experience with this problem?
source share