Rails 3 with TinyMce

Hi, I'm using TinyMce with Rails 3 to input rich text. when i enter a text into tinymce editor , the text is saved in the database as <p> text </p> so a p tag is added to the text!!. i need some help Best regards.

Isn't that what tinymce is suppose to do?

Did you try to use ‘raw’? for exemple <%= raw text %> raw cut the css in the sentence. This is what you need?!?!?

ops:raw get a html generated and apply as html not as text

Hi, I'm sorry for late and thanks for your help Actually, this is what tinymce should do. But i discarded this issue when i discovered that i m not supposed to display data written with this editor. thanks a lot.