I use ckeditor for rails 3, and I set it up already in the form, it works fine, except for the part of the view, when I go to the show page I tags that I used to format the text, but there is no bold or any other changes I made with text. What is the problem? Should I put something next to the field that conveys this text, as I did in the form?
code for a form that works great
<div class="field"> <%= f.cktext_area :comments, :cols => 80, :rows => 20 %> </div>
and in show.html.erb
<p style="margin-left:5px;text-align:justify;padding:5px;"><%= @car.comments %></p> <p> <em>The 2011 Cadillac Escalade ranks 1 out of 9 Luxury Large SUVs. This ranking is based on our analysis of 86 published reviews and test drives of the Cadillac Escalade, and our analysis of reliability and safety data.The 2011 Cadillac Escalade is not for shrinking violets. It’s an SUV for buyers who like to be noticed, but who also need the capabilities of a full-sized truck-based SUV – and are willing to pay to get them. </em>
This is the result, as you can see that there are tags around the text, but they are escaped. Thank you for your time.
source share